clementlr commited on
Commit
3fb0fa6
·
1 Parent(s): 0b8e200

adding enable_queue to gradio launch

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -306,4 +306,4 @@ gr.Interface(fn=run_model, inputs=[video_in, model_type, seconds_num, skip_slide
306
  [video3_path, "yolo", 10, 3, 3, 4, JSON_FILE_PATH+"gavepau.json"]],
307
  description="Upload a video, optionnaly a GPS file and you'll get Plastic detection on river.",
308
  theme="huggingface",
309
- allow_screenshot=False, allow_flagging="never").launch(debug=True)
 
306
  [video3_path, "yolo", 10, 3, 3, 4, JSON_FILE_PATH+"gavepau.json"]],
307
  description="Upload a video, optionnaly a GPS file and you'll get Plastic detection on river.",
308
  theme="huggingface",
309
+ allow_screenshot=False, allow_flagging="never").launch(debug=True,enable_queue=True)