phenomenon1981 commited on
Commit
e61a202
1 Parent(s): 970838d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,7 +20,7 @@ restart_thread = Thread(target=restart_script_periodically, daemon=True)
20
  restart_thread.start()
21
 
22
  queue = Queue()
23
- queue_threshold = 15
24
 
25
  queue_length_counter = 0
26
 
@@ -154,5 +154,5 @@ with gr.Blocks() as myface:
154
  see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
155
 
156
  myface.launch(enable_queue=True, inline=True)
157
- block.queue(concurrency_count=15, max_size=30).launch(max_threads=20)
158
  reset_queue_thread.join()
 
20
  restart_thread.start()
21
 
22
  queue = Queue()
23
+ queue_threshold = 30
24
 
25
  queue_length_counter = 0
26
 
 
154
  see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
155
 
156
  myface.launch(enable_queue=True, inline=True)
157
+ block.queue(concurrency_count=30, max_size=30).launch(max_threads=20)
158
  reset_queue_thread.join()