GrayShine commited on
Commit
a6e634d
β€’
1 Parent(s): 640f009

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -409,7 +409,7 @@ with gr.Blocks() as demo:
409
 
410
  ex = gr.Examples(
411
  examples = [["Underwater environment cosmetic bottles", None, 7.5, 7.5, None, "./input/i2v/Underwater_environment_cosmetic_bottles.png", 100]],
412
- fn = infer,
413
  inputs = [text_input, image_input, scfg_scale, tcfg_scale, img_cfg_scale, preframe_input, diffusion_step],
414
  outputs=[output_video],
415
  cache_examples=False
 
409
 
410
  ex = gr.Examples(
411
  examples = [["Underwater environment cosmetic bottles", None, 7.5, 7.5, None, "./input/i2v/Underwater_environment_cosmetic_bottles.png", 100]],
412
+ fn = gen_or_pre,
413
  inputs = [text_input, image_input, scfg_scale, tcfg_scale, img_cfg_scale, preframe_input, diffusion_step],
414
  outputs=[output_video],
415
  cache_examples=False