Spaces:
Runtime error
Runtime error
Thomas Simonini
commited on
Commit
·
b72ce67
1
Parent(s):
f8a8b07
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def replay(model_id, filename, environment, evaluate):
|
|
| 49 |
print(type(results))
|
| 50 |
print(env)
|
| 51 |
print(env.video_recorder.path)
|
| 52 |
-
return
|
| 53 |
|
| 54 |
|
| 55 |
iface = gr.Interface(fn=replay, inputs=[
|
|
@@ -60,5 +60,5 @@ iface = gr.Interface(fn=replay, inputs=[
|
|
| 60 |
]
|
| 61 |
|
| 62 |
|
| 63 |
-
, outputs="
|
| 64 |
iface.launch()
|
|
|
|
| 49 |
print(type(results))
|
| 50 |
print(env)
|
| 51 |
print(env.video_recorder.path)
|
| 52 |
+
return env.video_recorder.path
|
| 53 |
|
| 54 |
|
| 55 |
iface = gr.Interface(fn=replay, inputs=[
|
|
|
|
| 60 |
]
|
| 61 |
|
| 62 |
|
| 63 |
+
, outputs="video")
|
| 64 |
iface.launch()
|