Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,13 +40,8 @@ def execute_upscaler(input_video, output_path, save_intermediate, async_mode):
|
|
| 40 |
# Define the Gradio interface
|
| 41 |
iface = gr.Interface(
|
| 42 |
fn=execute_upscaler,
|
| 43 |
-
inputs=
|
| 44 |
-
|
| 45 |
-
gr.File("output_path", label="Output Path"),
|
| 46 |
-
gr.Checkbox("Save Intermediate", default=False),
|
| 47 |
-
gr.Checkbox("Async Mode", default=False),
|
| 48 |
-
],
|
| 49 |
-
outputs="text",
|
| 50 |
live=True,
|
| 51 |
capture_session=True
|
| 52 |
)
|
|
|
|
| 40 |
# Define the Gradio interface
|
| 41 |
iface = gr.Interface(
|
| 42 |
fn=execute_upscaler,
|
| 43 |
+
inputs=gr.Video(),
|
| 44 |
+
outputs=gr.Video(),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
live=True,
|
| 46 |
capture_session=True
|
| 47 |
)
|