phenomenon1981 commited on
Commit
ea217f8
1 Parent(s): 52f31c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ from queue import Queue
9
  from threading import Thread
10
 
11
  queue = Queue()
12
- queue_threshold = 500
13
 
14
  text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
15
  proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
@@ -151,5 +151,5 @@ with gr.Blocks() as myface:
151
  see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
152
 
153
  myface.launch(enable_queue=True, inline=True)
154
- myface.queue(concurrency_count=30)
155
  reset_queue_thread.join()
 
9
  from threading import Thread
10
 
11
  queue = Queue()
12
+ queue_threshold = 9
13
 
14
  text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
15
  proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
 
151
  see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
152
 
153
  myface.launch(enable_queue=True, inline=True)
154
+ myface.queue(concurrency_count=9)
155
  reset_queue_thread.join()