Update app.py
Browse files
app.py
CHANGED
|
@@ -134,8 +134,8 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
|
|
| 134 |
|
| 135 |
|
| 136 |
#demo().queue().launch()
|
| 137 |
-
demo.queue(default_concurrency_limit=240, max_size=240)
|
| 138 |
-
|
| 139 |
# https://github.com/gradio-app/gradio/issues/6339
|
| 140 |
|
| 141 |
#demo.queue(concurrency_count=50)
|
|
|
|
| 134 |
|
| 135 |
|
| 136 |
#demo().queue().launch()
|
| 137 |
+
#demo.queue(default_concurrency_limit=240, max_size=240)
|
| 138 |
+
demo.launch(max_threads=400, ssr_mode=False)
|
| 139 |
# https://github.com/gradio-app/gradio/issues/6339
|
| 140 |
|
| 141 |
#demo.queue(concurrency_count=50)
|