Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def download_and_process_video(in_f, threshold_db, buffer_sec):
|
|
52 |
iface = gr.Interface(
|
53 |
fn=download_and_process_video,
|
54 |
inputs=[
|
55 |
-
gr.inputs.File(label="Video File",
|
56 |
gr.inputs.Slider(minimum=1, maximum=70, step=1, default=30, label="Threshold (db)"),
|
57 |
gr.inputs.Slider(minimum=0, maximum=2, step=0.01, default=0.1, label="Buffer (sec)"),
|
58 |
],
|
|
|
52 |
iface = gr.Interface(
|
53 |
fn=download_and_process_video,
|
54 |
inputs=[
|
55 |
+
gr.inputs.File(label="Video File (.mp4 only)", file_count='single', type='file'),
|
56 |
gr.inputs.Slider(minimum=1, maximum=70, step=1, default=30, label="Threshold (db)"),
|
57 |
gr.inputs.Slider(minimum=0, maximum=2, step=0.01, default=0.1, label="Buffer (sec)"),
|
58 |
],
|