fantaxy commited on
Commit
94b4d66
1 Parent(s): 0f96687

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -271,12 +271,12 @@ def ui():
271
  with gr.Column():
272
  with gr.Row():
273
  sampler_dropdown = gr.Dropdown(label="Sampling method", choices=list(scheduler_dict.keys()), value=list(scheduler_dict.keys())[0])
274
- sample_step_slider = gr.Slider(label="Sampling steps", value=50, minimum=10, maximum=250, step=1)
275
 
276
  with gr.Row():
277
  center_crop = gr.Checkbox(label="Center Crop the Image", value=True)
278
- width_slider = gr.Slider(label="Width", value=256, minimum=0, maximum=512, step=64)
279
- height_slider = gr.Slider(label="Height", value=256, minimum=0, maximum=512, step=64)
280
  with gr.Row():
281
  txt_cfg_scale_slider = gr.Slider(label="Text CFG Scale", value=7.5, minimum=1.0, maximum=20.0, step=0.5)
282
  img_cfg_scale_slider = gr.Slider(label="Image CFG Scale", value=1.0, minimum=1.0, maximum=20.0, step=0.5)
 
271
  with gr.Column():
272
  with gr.Row():
273
  sampler_dropdown = gr.Dropdown(label="Sampling method", choices=list(scheduler_dict.keys()), value=list(scheduler_dict.keys())[0])
274
+ sample_step_slider = gr.Slider(label="Sampling steps", value=250, minimum=10, maximum=250, step=1)
275
 
276
  with gr.Row():
277
  center_crop = gr.Checkbox(label="Center Crop the Image", value=True)
278
+ width_slider = gr.Slider(label="Width", value=512, minimum=0, maximum=512, step=64)
279
+ height_slider = gr.Slider(label="Height", value=512, minimum=0, maximum=512, step=64)
280
  with gr.Row():
281
  txt_cfg_scale_slider = gr.Slider(label="Text CFG Scale", value=7.5, minimum=1.0, maximum=20.0, step=0.5)
282
  img_cfg_scale_slider = gr.Slider(label="Image CFG Scale", value=1.0, minimum=1.0, maximum=20.0, step=0.5)