Leyo commited on
Commit
88293cd
1 Parent(s): 42e4a55

prevent thread lock

Browse files
Files changed (1) hide show
  1. 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)