MrDrmm commited on
Commit
a5c14cc
·
verified ·
1 Parent(s): 4163f2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -229,6 +229,10 @@ body {
229
 
230
  with gr.Blocks(css=custom_css) as demo:
231
  make_me()
 
 
 
 
232
 
233
  demo.queue(concurrency_count=50)
234
  demo.launch()
 
229
 
230
  with gr.Blocks(css=custom_css) as demo:
231
  make_me()
232
+ # Очередь и запуск интерфейса с параметрами
233
+ demo.queue(default_concurrency_limit=240, max_size=240)
234
+ demo.launch(max_threads=400, ssr_mode=False)
235
+
236
 
237
  demo.queue(concurrency_count=50)
238
  demo.launch()