Update app.py
Browse files
app.py
CHANGED
|
@@ -470,7 +470,7 @@ with gr.Blocks(delete_cache=(3600, 10800)) as demo:
|
|
| 470 |
with gr.Column():
|
| 471 |
input_image_component = gr.Image(type="pil", label="Input Image")
|
| 472 |
prompt_input = gr.Textbox(label="Prompt", value=default_prompt_i2v)
|
| 473 |
-
duration_seconds_input = gr.Slider(minimum=MIN_DURATION, maximum=MAX_DURATION, step=0.1, value=3.5, label="
|
| 474 |
steps_slider = gr.Slider(minimum=1, maximum=30, step=1, value=6, label="Inference Steps")
|
| 475 |
frame_multi = gr.Dropdown(
|
| 476 |
choices=[1, 2, 4, 8],
|
|
@@ -480,7 +480,7 @@ with gr.Blocks(delete_cache=(3600, 10800)) as demo:
|
|
| 480 |
)
|
| 481 |
with gr.Accordion("Advanced Settings", open=False):
|
| 482 |
last_image_component = gr.Image(type="pil", label="Last Image (Optional)")
|
| 483 |
-
negative_prompt_input = gr.Textbox(label="Negative Prompt", value=default_negative_prompt, lines=3)
|
| 484 |
quality_slider = gr.Slider(minimum=1, maximum=10, step=1, value=6, label="Video Quality")
|
| 485 |
seed_input = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42, interactive=True)
|
| 486 |
randomize_seed_checkbox = gr.Checkbox(label="Randomize seed", value=True, interactive=True)
|
|
|
|
| 470 |
with gr.Column():
|
| 471 |
input_image_component = gr.Image(type="pil", label="Input Image")
|
| 472 |
prompt_input = gr.Textbox(label="Prompt", value=default_prompt_i2v)
|
| 473 |
+
duration_seconds_input = gr.Slider(minimum=MIN_DURATION, maximum=MAX_DURATION, step=0.1, value=3.5, label="Duration (seconds)", info=f"Clamped to model's {MIN_FRAMES_MODEL}-{MAX_FRAMES_MODEL} frames at {FIXED_FPS}fps.")
|
| 474 |
steps_slider = gr.Slider(minimum=1, maximum=30, step=1, value=6, label="Inference Steps")
|
| 475 |
frame_multi = gr.Dropdown(
|
| 476 |
choices=[1, 2, 4, 8],
|
|
|
|
| 480 |
)
|
| 481 |
with gr.Accordion("Advanced Settings", open=False):
|
| 482 |
last_image_component = gr.Image(type="pil", label="Last Image (Optional)")
|
| 483 |
+
negative_prompt_input = gr.Textbox(label="Negative Prompt", value=default_negative_prompt, info="Used if any Guidance Scale > 1.", lines=3)
|
| 484 |
quality_slider = gr.Slider(minimum=1, maximum=10, step=1, value=6, label="Video Quality")
|
| 485 |
seed_input = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42, interactive=True)
|
| 486 |
randomize_seed_checkbox = gr.Checkbox(label="Randomize seed", value=True, interactive=True)
|