Spaces:
Runtime error
Runtime error
Thomas Simonini
commited on
Commit
·
aa21d8d
1
Parent(s):
bd7bd37
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,17 +1,16 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
model_id =""
|
| 4 |
|
| 5 |
-
def replay(model_id,
|
| 6 |
-
|
| 7 |
|
| 8 |
iface = gr.Interface(fn=replay, inputs=[
|
| 9 |
-
gr.inputs.Textbox(
|
| 10 |
gr.inputs.Textbox(lines=1, placeholder=None, default="", label="Filename: "),
|
| 11 |
gr.inputs.Textbox(lines=1, placeholder=None, default="", label="Environment: "),
|
| 12 |
gr.inputs.Checkbox(default=False, label="Evaluate?: ")
|
| 13 |
]
|
| 14 |
|
| 15 |
|
| 16 |
-
, outputs="
|
| 17 |
iface.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
|
|
|
| 3 |
|
| 4 |
+
def replay(model_id, filename, environment, evaluate):
|
| 5 |
+
pass
|
| 6 |
|
| 7 |
iface = gr.Interface(fn=replay, inputs=[
|
| 8 |
+
gr.inputs.Textbox(lines=1, placeholder=None, default="", label="Model Id: "),
|
| 9 |
gr.inputs.Textbox(lines=1, placeholder=None, default="", label="Filename: "),
|
| 10 |
gr.inputs.Textbox(lines=1, placeholder=None, default="", label="Environment: "),
|
| 11 |
gr.inputs.Checkbox(default=False, label="Evaluate?: ")
|
| 12 |
]
|
| 13 |
|
| 14 |
|
| 15 |
+
, outputs="video")
|
| 16 |
iface.launch()
|