Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ article = """
|
|
147 |
iface_file = gr.Interface(
|
148 |
predict_fn,
|
149 |
inputs=[
|
150 |
-
gr.Video(
|
151 |
gr.Slider(minimum=0, maximum=300, step=1, value=0),
|
152 |
gr.Slider(minimum=1, maximum=10, step=1, value=2),
|
153 |
],
|
@@ -163,4 +163,4 @@ iface_file = gr.Interface(
|
|
163 |
allow_flagging="never",
|
164 |
cache_examples="lazy",
|
165 |
delete_cache=(4000, 4000),
|
166 |
-
).queue(api_open=True).launch(show_error=True, show_api=True)
|
|
|
147 |
iface_file = gr.Interface(
|
148 |
predict_fn,
|
149 |
inputs=[
|
150 |
+
gr.Video(),
|
151 |
gr.Slider(minimum=0, maximum=300, step=1, value=0),
|
152 |
gr.Slider(minimum=1, maximum=10, step=1, value=2),
|
153 |
],
|
|
|
163 |
allow_flagging="never",
|
164 |
cache_examples="lazy",
|
165 |
delete_cache=(4000, 4000),
|
166 |
+
).queue(api_open=True).launch(show_error=True, show_api=True)
|