Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -98,6 +98,7 @@ def get_duration(
|
|
98 |
negative_prompt,
|
99 |
duration_seconds,
|
100 |
guidance_scale,
|
|
|
101 |
steps,
|
102 |
seed,
|
103 |
randomize_seed,
|
@@ -199,7 +200,7 @@ with gr.Blocks() as demo:
|
|
199 |
negative_prompt_input = gr.Textbox(label="Negative Prompt", value=default_negative_prompt, lines=3)
|
200 |
seed_input = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42, interactive=True)
|
201 |
randomize_seed_checkbox = gr.Checkbox(label="Randomize seed", value=True, interactive=True)
|
202 |
-
steps_slider = gr.Slider(minimum=1, maximum=30, step=1, value=
|
203 |
guidance_scale_input = gr.Slider(minimum=0.0, maximum=10.0, step=0.5, value=2.5, label="Guidance Scale - high noise stage", visible=False)
|
204 |
guidance_scale_2_input = gr.Slider(minimum=0.0, maximum=10.0, step=0.5, value=3.5, label="Guidance Scale 2 - low noise stage", visible=False)
|
205 |
|
|
|
98 |
negative_prompt,
|
99 |
duration_seconds,
|
100 |
guidance_scale,
|
101 |
+
guidance_scale_2,
|
102 |
steps,
|
103 |
seed,
|
104 |
randomize_seed,
|
|
|
200 |
negative_prompt_input = gr.Textbox(label="Negative Prompt", value=default_negative_prompt, lines=3)
|
201 |
seed_input = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42, interactive=True)
|
202 |
randomize_seed_checkbox = gr.Checkbox(label="Randomize seed", value=True, interactive=True)
|
203 |
+
steps_slider = gr.Slider(minimum=1, maximum=30, step=1, value=6, label="Inference Steps")
|
204 |
guidance_scale_input = gr.Slider(minimum=0.0, maximum=10.0, step=0.5, value=2.5, label="Guidance Scale - high noise stage", visible=False)
|
205 |
guidance_scale_2_input = gr.Slider(minimum=0.0, maximum=10.0, step=0.5, value=3.5, label="Guidance Scale 2 - low noise stage", visible=False)
|
206 |
|