kelseye multimodalart HF Staff commited on
Commit
1bbd1d4
·
verified ·
1 Parent(s): 658070f

Allow for 20 parallel requests (#2)

Browse files

- Allow for 20 parallel requests (5287ef632c746862dad1d29caa9635e2b38bf167)


Co-authored-by: Apolinário from multimodal AI art <multimodalart@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -286,7 +286,9 @@ def start_app():
286
  fn=app.predict,
287
  cache_examples="lazy",
288
  )
289
-
 
 
290
  demo.launch(
291
  server_name="0.0.0.0",
292
  server_port=7860
 
286
  fn=app.predict,
287
  cache_examples="lazy",
288
  )
289
+
290
+ demo.queue(default_concurrency_limit=20)
291
+
292
  demo.launch(
293
  server_name="0.0.0.0",
294
  server_port=7860