Update app.py
Browse files
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()
|