Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files469 unmodified lines4704714724734744754763 unmodified lines480481482483484485486469 unmodified lineswith gr.Column():input_image_component = gr.Image(type="pil", label="Input Image")prompt_input = gr.Textbox(label="Prompt", value=default_prompt_i2v)duration_seconds_input = gr.Slider(minimum=MIN_DURATION, maximum=MAX_DURATION, step=0.1, value=3.5, label="Base Duration (seconds)")steps_slider = gr.Slider(minimum=1, maximum=30, step=1, value=6, label="Inference Steps")frame_multi = gr.Dropdown(choices=[1, 2, 4, 8],3 unmodified lines)with gr.Accordion("Advanced Settings", open=False):last_image_component = gr.Image(type="pil", label="Last Image (Optional)")negative_prompt_input = gr.Textbox(label="Negative Prompt", value=default_negative_prompt, lines=3)quality_slider = gr.Slider(minimum=1, maximum=10, step=1, value=6, label="Video Quality")seed_input = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42, interactive=True)randomize_seed_checkbox = gr.Checkbox(label="Randomize seed", value=True, interactive=True)469 unmodified lines4704714724734744754763 unmodified lines480481482483484485486469 unmodified lineswith gr.Column():input_image_component = gr.Image(type="pil", label="Input Image")prompt_input = gr.Textbox(label="Prompt", value=default_prompt_i2v)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.")steps_slider = gr.Slider(minimum=1, maximum=30, step=1, value=6, label="Inference Steps")frame_multi = gr.Dropdown(choices=[1, 2, 4, 8],3 unmodified lines)with gr.Accordion("Advanced Settings", open=False):last_image_component = gr.Image(type="pil", label="Last Image (Optional)")negative_prompt_input = gr.Textbox(label="Negative Prompt", value=default_negative_prompt, info="Used if any Guidance Scale > 1.", lines=3)quality_slider = gr.Slider(minimum=1, maximum=10, step=1, value=6, label="Video Quality")seed_input = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42, interactive=True)randomize_seed_checkbox = gr.Checkbox(label="Randomize seed", value=True, interactive=True)
app.py+2-2