Spaces:
Running
Running
prevent thread lock
Browse files- app_dialogue.py +1 -1
app_dialogue.py
CHANGED
@@ -1022,4 +1022,4 @@ with gr.Blocks(title="AI Meme Generator", theme=gr.themes.Base(), css=css) as de
|
|
1022 |
outputs=[template_gallery],
|
1023 |
)
|
1024 |
demo.queue(concurrency_count=8, max_size=40, api_open=False)
|
1025 |
-
demo.launch(max_threads=400)
|
|
|
1022 |
outputs=[template_gallery],
|
1023 |
)
|
1024 |
demo.queue(concurrency_count=8, max_size=40, api_open=False)
|
1025 |
+
demo.launch(max_threads=400, prevent_thread_lock=True)
|