Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -171,8 +171,7 @@ def txt2img(prompt, negative_prompt, model, steps, sampler, cfg_scale, width, he
|
|
171 |
"cfg_scale": cfg_scale,
|
172 |
"width": width,
|
173 |
"height": height,
|
174 |
-
"seed": seed
|
175 |
-
"upscale": True
|
176 |
}
|
177 |
|
178 |
total_images = []
|
@@ -316,7 +315,7 @@ with gr.Blocks() as demo:
|
|
316 |
|
317 |
with gr.Column(scale=1):
|
318 |
batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)
|
319 |
-
batch_count = gr.Slider(label="Batch Count", minimum=1, maximum=
|
320 |
|
321 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
|
322 |
seed = gr.Number(label="Seed", value=-1)
|
|
|
171 |
"cfg_scale": cfg_scale,
|
172 |
"width": width,
|
173 |
"height": height,
|
174 |
+
"seed": seed
|
|
|
175 |
}
|
176 |
|
177 |
total_images = []
|
|
|
315 |
|
316 |
with gr.Column(scale=1):
|
317 |
batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)
|
318 |
+
batch_count = gr.Slider(label="Batch Count", minimum=1, maximum=4, value=1, step=1)
|
319 |
|
320 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
|
321 |
seed = gr.Number(label="Seed", value=-1)
|