Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def download_and_process_video(youtube_url, threshold_db, buffer_sec):
|
|
56 |
iface = gr.Interface(
|
57 |
fn=download_and_process_video,
|
58 |
inputs=[
|
59 |
-
gr.inputs.
|
60 |
gr.inputs.Slider(minimum=1, maximum=70, step=1, default=30, label="Threshold (db)"),
|
61 |
gr.inputs.Slider(minimum=0, maximum=2, step=0.01, default=0.1, label="Buffer (sec)"),
|
62 |
],
|
|
|
56 |
iface = gr.Interface(
|
57 |
fn=download_and_process_video,
|
58 |
inputs=[
|
59 |
+
gr.inputs.Textbox(label="YouTube URL"),
|
60 |
gr.inputs.Slider(minimum=1, maximum=70, step=1, default=30, label="Threshold (db)"),
|
61 |
gr.inputs.Slider(minimum=0, maximum=2, step=0.01, default=0.1, label="Buffer (sec)"),
|
62 |
],
|