multimodalart HF staff commited on
Commit
2c6d128
1 Parent(s): f3e96f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -95,20 +95,20 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
95
  result = gr.Image(label="Generated Image")
96
 
97
  with gr.Row():
98
- with gr.Accordion("Advanced Settings", open=False)
99
- with gr.Column():
100
- with gr.Row():
101
- cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.5)
102
- steps = gr.Slider(label="Steps", minimum=1, maximum=100, step=1, value=30)
103
-
104
- with gr.Row():
105
- width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
106
- height = gr.Slider(label="Height", minimum=256, maximum=1536, step=64, value=1024)
107
-
108
- with gr.Row():
109
- randomize_seed = gr.Checkbox(True, label="Randomize seed")
110
- seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
111
- lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1, step=0.01, value=0.85)
112
 
113
  gallery.select(update_selection, outputs=[prompt, selected_info, selected_index])
114
 
 
95
  result = gr.Image(label="Generated Image")
96
 
97
  with gr.Row():
98
+ with gr.Accordion("Advanced Settings", open=False):
99
+ with gr.Column():
100
+ with gr.Row():
101
+ cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.5)
102
+ steps = gr.Slider(label="Steps", minimum=1, maximum=100, step=1, value=30)
103
+
104
+ with gr.Row():
105
+ width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
106
+ height = gr.Slider(label="Height", minimum=256, maximum=1536, step=64, value=1024)
107
+
108
+ with gr.Row():
109
+ randomize_seed = gr.Checkbox(True, label="Randomize seed")
110
+ seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
111
+ lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1, step=0.01, value=0.85)
112
 
113
  gallery.select(update_selection, outputs=[prompt, selected_info, selected_index])
114