phenomenon1981 commited on
Commit
371e039
1 Parent(s): 26076fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -147,4 +147,5 @@ with gr.Blocks() as myface:
147
  see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
148
 
149
  myface.launch(enable_queue=True, inline=True)
150
- block.queue(concurrency_count=15, max_size=30).launch(max_threads=20)
 
 
147
  see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
148
 
149
  myface.launch(enable_queue=True, inline=True)
150
+ block.queue(concurrency_count=15, max_size=30).launch(max_threads=20)
151
+ restart_thread.join()