phenomenon1981 commited on
Commit
4f2e25c
1 Parent(s): e36c083

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ queue = Queue()
12
  queue_threshold = 15
13
 
14
  text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
15
- proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
16
 
17
  def reset_queue_periodically():
18
  start_time = time.time()
@@ -160,7 +160,7 @@ with gr.Blocks() as myface:
160
 
161
 
162
 
163
- myface.queue(concurrency_count=15)
164
  myface.launch(enable_queue=True, inline=True)
165
 
166
  def queue_monitor():
 
12
  queue_threshold = 15
13
 
14
  text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
15
+ proc1=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
16
 
17
  def reset_queue_periodically():
18
  start_time = time.time()
 
160
 
161
 
162
 
163
+ myface.queue(concurrency_count=8)
164
  myface.launch(enable_queue=True, inline=True)
165
 
166
  def queue_monitor():