peterkros commited on
Commit
3024720
·
verified ·
1 Parent(s): 388f757

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
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
- gr.File("input_video", label="Input Video"),
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
  )