stefanbenten commited on
Commit
f9f4daa
1 Parent(s): 5683ad2

app.py: smaller QoL updates

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -119,7 +119,7 @@ with gr.Blocks(css=css) as demo:
119
  with gr.Tab("Generation"):
120
  with gr.Row():
121
  with gr.Column(scale=1):
122
- sampler = gr.Dropdown(value="Euler a", show_label=True, label="Sampling Method", choices=[
123
  "Euler",
124
  "Euler a",
125
  "LMS",
@@ -160,5 +160,4 @@ with gr.Blocks(css=css) as demo:
160
 
161
  text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
162
 
163
- demo.queue(concurrency_count=5)
164
- demo.launch()
 
119
  with gr.Tab("Generation"):
120
  with gr.Row():
121
  with gr.Column(scale=1):
122
+ sampler = gr.Dropdown(value="DPM++ 2M Karras", show_label=True, label="Sampling Method", choices=[
123
  "Euler",
124
  "Euler a",
125
  "LMS",
 
160
 
161
  text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
162
 
163
+ demo.queue(concurrency_count=16, max_size=20, api_open=False).launch(max_threads=64)