doevent commited on
Commit
151f876
1 Parent(s): 94539f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -147,7 +147,7 @@ article = """
147
  iface_file = gr.Interface(
148
  predict_fn,
149
  inputs=[
150
- gr.Video(source="upload"),
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)