Spaces:
Runtime error
Runtime error
stefanbenten
commited on
Commit
•
f9f4daa
1
Parent(s):
5683ad2
app.py: smaller QoL updates
Browse files
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="
|
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=
|
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)
|
|