Leyo commited on
Commit
58133b1
1 Parent(s): 88293cd

Revert "prevent thread lock"

Browse files

This reverts commit 88293cd587c3edb50f24d63d4885a9fe964d2ca1.

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, prevent_thread_lock=True)
 
1022
  outputs=[template_gallery],
1023
  )
1024
  demo.queue(concurrency_count=8, max_size=40, api_open=False)
1025
+ demo.launch(max_threads=400)