greendra commited on
Commit
95ffa65
·
verified ·
1 Parent(s): 8cf6f97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -215,7 +215,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
215
  with gr.Row():
216
  width = gr.Slider(label="Width", value=1024, minimum=64, maximum=1216, step=32)
217
  height = gr.Slider(label="Height", value=1024, minimum=64, maximum=1216, step=32)
218
- steps = gr.Slider(label="Sampling steps", value=4, minimum=1, maximum=30, step=1) # Default updated based on query function default
219
  cfg = gr.Slider(label="CFG Scale (guidance_scale)", value=0, minimum=0, maximum=10, step=1) # Label updated
220
  # Removed strength and sampler sliders as they are not passed to query
221
  seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1, info="Set to -1 for random seed")
 
215
  with gr.Row():
216
  width = gr.Slider(label="Width", value=1024, minimum=64, maximum=1216, step=32)
217
  height = gr.Slider(label="Height", value=1024, minimum=64, maximum=1216, step=32)
218
+ steps = gr.Slider(label="Sampling steps", value=4, minimum=1, maximum=8, step=1) # Default updated based on query function default
219
  cfg = gr.Slider(label="CFG Scale (guidance_scale)", value=0, minimum=0, maximum=10, step=1) # Label updated
220
  # Removed strength and sampler sliders as they are not passed to query
221
  seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1, info="Set to -1 for random seed")