pcuenq HF staff commited on
Commit
61c4de5
1 Parent(s): 1ea3dc6

Limit queue

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -175,4 +175,4 @@ iface = gr.Interface(
175
  )
176
 
177
  # Launch the interface
178
- iface.launch(debug=True)
 
175
  )
176
 
177
  # Launch the interface
178
+ iface.queue(default_concurrency_limit=1, max_size=5).launch(debug=True)