Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
|
|
130 |
trans_prompt.click(translate_to_en, [prompt], [prompt], queue=False, show_api=False)\
|
131 |
.then(translate_to_en, [neg_prompt], [neg_prompt], queue=False, show_api=False)
|
132 |
|
133 |
-
|
134 |
#demo.queue(default_concurrency_limit=240, max_size=240)
|
135 |
-
demo.launch(max_threads=400, ssr_mode=
|
136 |
# https://github.com/gradio-app/gradio/issues/6339
|
|
|
130 |
trans_prompt.click(translate_to_en, [prompt], [prompt], queue=False, show_api=False)\
|
131 |
.then(translate_to_en, [neg_prompt], [neg_prompt], queue=False, show_api=False)
|
132 |
|
133 |
+
|
134 |
#demo.queue(default_concurrency_limit=240, max_size=240)
|
135 |
+
demo.launch(max_threads=400, ssr_mode=True)
|
136 |
# https://github.com/gradio-app/gradio/issues/6339
|