Spaces:
Runtime error
Runtime error
Commit
·
a6c43f6
1
Parent(s):
daded6f
Update app.py
Browse files
app.py
CHANGED
@@ -165,8 +165,8 @@ with gr.Blocks(css=css) as demo:
|
|
165 |
batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)
|
166 |
batch_count = gr.Slider(label="Batch Count", maximum=1, value=1)
|
167 |
|
168 |
-
|
169 |
-
|
170 |
|
171 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
|
172 |
|
|
|
165 |
batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)
|
166 |
batch_count = gr.Slider(label="Batch Count", maximum=1, value=1)
|
167 |
|
168 |
+
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
|
169 |
+
seed = gr.Number(label="Seed", value=-1, info = """'-1' is a random seed""")
|
170 |
|
171 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
|
172 |
|