phenomenon1981 commited on
Commit
b0d99d4
1 Parent(s): 2a3255d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -119,7 +119,7 @@ with gr.Blocks(css=css) as demo:
119
 
120
  with gr.Row():
121
  with gr.Row():
122
- noise_level = gr.Slider(minimum=0.1, maximum=3, step=0.1, label="Noise Level")
123
  with gr.Row():
124
  with gr.Row():
125
  output1=gr.Image(label="Dreamlike-photoreal-2.0",show_label=False)
@@ -148,6 +148,5 @@ with gr.Blocks(css=css) as demo:
148
  """
149
  )
150
 
151
-
152
- demo.queue(concurrency_count=8)
153
- demo.launch(enable_queue=True, inline=True)
 
119
 
120
  with gr.Row():
121
  with gr.Row():
122
+ noise_level = gr.Slider(minimum=0.0, maximum=3, step=0.1, label="Noise Level")
123
  with gr.Row():
124
  with gr.Row():
125
  output1=gr.Image(label="Dreamlike-photoreal-2.0",show_label=False)
 
148
  """
149
  )
150
 
151
+ demo.launch(enable_queue=True, inline=True)
152
+ block.queue(concurrency_count=100)