Spaces:
Runtime error
Runtime error
Update app.py
Browse files116 unmodified lines117118119120121122123124125126127128129156 unmodified lines286287288289290291292116 unmodified linesinput_image,prompt: str,duration: float,negative_prompt: str,seed: int,randomize_seed: bool,num_inference_steps: int,cfg_guidance_scale: float,height: int,width: int,progress=gr.Progress(track_tqdm=True)):"""Generate a video based on the given parameters."""156 unmodified lines5.0,]],inputs=[input_image, prompt, duration],label="Example",cache_examples=True,cache_mode="lazy",116 unmodified lines117118119120121122123124125126127128129156 unmodified lines286287288289290291292293294116 unmodified linesinput_image,prompt: str,duration: float,negative_prompt: str = DEFAULT_NEGATIVE_PROMPT,seed: int = 42,randomize_seed: bool = True,num_inference_steps: int = DEFAULT_NUM_INFERENCE_STEPS,cfg_guidance_scale: float = DEFAULT_CFG_GUIDANCE_SCALE,height: int = DEFAULT_HEIGHT,width: int = DEFAULT_WIDTH,progress=gr.Progress(track_tqdm=True)):"""Generate a video based on the given parameters."""156 unmodified lines5.0,]],fn=generate_video,inputs=[input_image, prompt, duration],outputs = [output_video]label="Example",cache_examples=True,cache_mode="lazy",
app.py+9-7