szili2011 commited on
Commit
db1fda4
·
verified ·
1 Parent(s): 203f3fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def gradio_interface(video, sensitivity):
48
  iface = gr.Interface(
49
  fn=gradio_interface,
50
  inputs=[
51
- gr.Video(label="Import Video", type="filepath"), # Ensure the video is uploaded as a file path
52
  gr.Slider(minimum=0.0, maximum=1.0, value=0.5, label="Sensitivity"),
53
  ],
54
  outputs=gr.Video(label="Output Dumpscare Video"),
 
48
  iface = gr.Interface(
49
  fn=gradio_interface,
50
  inputs=[
51
+ gr.Video(label="Import Video"), # Removed type argument
52
  gr.Slider(minimum=0.0, maximum=1.0, value=0.5, label="Sensitivity"),
53
  ],
54
  outputs=gr.Video(label="Output Dumpscare Video"),