ssboost commited on
Commit
bdae13c
·
verified ·
1 Parent(s): cd78edc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -15
app.py CHANGED
@@ -142,21 +142,6 @@ with gr.Blocks(css=css) as Kolors:
142
  value=0,
143
  )
144
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
145
- with gr.Row():
146
- width = gr.Slider(
147
- label="Width",
148
- minimum=256,
149
- maximum=MAX_IMAGE_SIZE,
150
- step=32,
151
- value=1024,
152
- )
153
- height = gr.Slider(
154
- label="Height",
155
- minimum=256,
156
- maximum=MAX_IMAGE_SIZE,
157
- step=32,
158
- value=1024,
159
- )
160
  with gr.Row():
161
  guidance_scale = gr.Slider(
162
  label="Guidance scale",
@@ -181,6 +166,23 @@ with gr.Blocks(css=css) as Kolors:
181
  step=0.05,
182
  value=0.5,
183
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
  with gr.Row():
185
  run_button = gr.Button("Generate Image")
186
 
 
142
  value=0,
143
  )
144
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  with gr.Row():
146
  guidance_scale = gr.Slider(
147
  label="Guidance scale",
 
166
  step=0.05,
167
  value=0.5,
168
  )
169
+
170
+ with gr.Row():
171
+ width = gr.Slider(
172
+ label="Width",
173
+ minimum=256,
174
+ maximum=MAX_IMAGE_SIZE,
175
+ step=32,
176
+ value=1024,
177
+ )
178
+ height = gr.Slider(
179
+ label="Height",
180
+ minimum=256,
181
+ maximum=MAX_IMAGE_SIZE,
182
+ step=32,
183
+ value=1024,
184
+ )
185
+
186
  with gr.Row():
187
  run_button = gr.Button("Generate Image")
188