reach-vb HF staff pcuenq HF staff commited on
Commit
db1b986
1 Parent(s): 1ea3dc6

Limit queue (#32)

Browse files

- Limit queue (61c4de556357341f6dcefb82be1cd93184a88f51)


Co-authored-by: Pedro Cuenca <pcuenq@users.noreply.huggingface.co>

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)