r3gm commited on
Commit
0162adb
·
verified ·
1 Parent(s): 54f2e32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -296,7 +296,7 @@ def generate_video(
296
 
297
  with gr.Blocks() as demo:
298
  gr.Markdown("# Wan 2.2 I2V (14B)")
299
- gr.Markdown("ℹ️ **A Note on Performance:** This version prioritizes a straightforward setup over maximum speed, so performance may vary.")
300
  gr.Markdown("run Wan 2.2 in just 4-8 steps, with [Lightning LoRA](https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Wan22-Lightning), fp8 quantization & AoT compilation - compatible with 🧨 diffusers and ZeroGPU⚡️")
301
  with gr.Row():
302
  with gr.Column():
@@ -304,7 +304,7 @@ with gr.Blocks() as demo:
304
  prompt_input = gr.Textbox(label="Prompt", value=default_prompt_i2v)
305
  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.")
306
  steps_slider = gr.Slider(minimum=1, maximum=30, step=1, value=6, label="Inference Steps")
307
- quality_slider = gr.Slider(minimum=1, maximum=10, step=1, value=5, label="Video Quality")
308
 
309
  with gr.Accordion("Advanced Settings", open=False):
310
  last_image_component = gr.Image(type="pil", label="Last Image (Optional)")
 
296
 
297
  with gr.Blocks() as demo:
298
  gr.Markdown("# Wan 2.2 I2V (14B)")
299
+ gr.Markdown("## ℹ️ **A Note on Performance:** This version prioritizes a straightforward setup over maximum speed, so performance may vary.")
300
  gr.Markdown("run Wan 2.2 in just 4-8 steps, with [Lightning LoRA](https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Wan22-Lightning), fp8 quantization & AoT compilation - compatible with 🧨 diffusers and ZeroGPU⚡️")
301
  with gr.Row():
302
  with gr.Column():
 
304
  prompt_input = gr.Textbox(label="Prompt", value=default_prompt_i2v)
305
  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.")
306
  steps_slider = gr.Slider(minimum=1, maximum=30, step=1, value=6, label="Inference Steps")
307
+ quality_slider = gr.Slider(minimum=1, maximum=10, step=1, value=6, label="Video Quality")
308
 
309
  with gr.Accordion("Advanced Settings", open=False):
310
  last_image_component = gr.Image(type="pil", label="Last Image (Optional)")