Spaces:
Runtime error
Runtime error
yiyixuxu
commited on
Commit
•
02b4d61
1
Parent(s):
96f1e87
changed default interval
Browse files
app.py
CHANGED
@@ -183,7 +183,7 @@ def run_inference(url, sampling_interval, search_query, bs=526):
|
|
183 |
return(title, image_output)
|
184 |
|
185 |
inputs = [gr.inputs.Textbox(label="Give us the link to your youtube video! (maximum size 50 MB)"),
|
186 |
-
gr.Number(
|
187 |
gr.inputs.Textbox(label="What do you want to search?")]
|
188 |
outputs = [
|
189 |
gr.outputs.HTML(label=""), # To be used as title
|
|
|
183 |
return(title, image_output)
|
184 |
|
185 |
inputs = [gr.inputs.Textbox(label="Give us the link to your youtube video! (maximum size 50 MB)"),
|
186 |
+
gr.Number(1,label='sampling interval (seconds)'),
|
187 |
gr.inputs.Textbox(label="What do you want to search?")]
|
188 |
outputs = [
|
189 |
gr.outputs.HTML(label=""), # To be used as title
|