Spaces:
Running
on
Zero
Running
on
Zero
Fine control for Turbo and Lightning models
Browse filesTurbo and Lightning models require less inference steps but also finer control of the guidance scale in the range from 1.0 to 2.0
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=
|
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.
|
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 |
|