Update app.py
Browse files469 unmodified lines4704714724734734744754763 unmodified lines480481482483483484485486469 unmodified lines with 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)") 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, lines=3) 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