Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -170,17 +170,17 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
|
| 170 |
with gr.Accordion("Advanced Settings", open=True):
|
| 171 |
with gr.Column():
|
| 172 |
with gr.Row():
|
| 173 |
-
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=
|
| 174 |
-
steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=
|
| 175 |
|
| 176 |
with gr.Row():
|
| 177 |
-
width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=
|
| 178 |
-
height = gr.Slider(label="Height", minimum=256, maximum=1536, step=64, value=
|
| 179 |
|
| 180 |
with gr.Row():
|
| 181 |
randomize_seed = gr.Checkbox(True, label="Randomize seed")
|
| 182 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
|
| 183 |
-
lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1, step=0.01, value=0.
|
| 184 |
|
| 185 |
gallery.select(
|
| 186 |
update_selection,
|
|
|
|
| 170 |
with gr.Accordion("Advanced Settings", open=True):
|
| 171 |
with gr.Column():
|
| 172 |
with gr.Row():
|
| 173 |
+
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.5)
|
| 174 |
+
steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=9)
|
| 175 |
|
| 176 |
with gr.Row():
|
| 177 |
+
width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
|
| 178 |
+
height = gr.Slider(label="Height", minimum=256, maximum=1536, step=64, value=1024)
|
| 179 |
|
| 180 |
with gr.Row():
|
| 181 |
randomize_seed = gr.Checkbox(True, label="Randomize seed")
|
| 182 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
|
| 183 |
+
lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1, step=0.01, value=0.9)
|
| 184 |
|
| 185 |
gallery.select(
|
| 186 |
update_selection,
|