habulaj TobDeBer commited on
Commit
704b21e
1 Parent(s): 7645cc5

Fine control for Turbo and Lightning models (#1)

Browse files

- Fine control for Turbo and Lightning models (0c2dc83cb2d34f1d8e1fb421baff5d7ba31cc1f0)


Co-authored-by: Full name <TobDeBer@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks(theme=theme, css="style.css") as demo:
134
  num_inference_steps_base = gr.Slider(
135
  info="Number of denoising steps",
136
  label="Number of inference steps",
137
- minimum=10,
138
  maximum=100,
139
  step=1,
140
  value=25,
@@ -177,7 +177,7 @@ with gr.Blocks(theme=theme, css="style.css") as demo:
177
  label="Guidance scale",
178
  minimum=1,
179
  maximum=20,
180
- step=0.1,
181
  value=5.0,
182
  )
183
 
 
134
  num_inference_steps_base = gr.Slider(
135
  info="Number of denoising steps",
136
  label="Number of inference steps",
137
+ minimum=1,
138
  maximum=100,
139
  step=1,
140
  value=25,
 
177
  label="Guidance scale",
178
  minimum=1,
179
  maximum=20,
180
+ step=0.01,
181
  value=5.0,
182
  )
183