Spaces:
Runtime error
Runtime error
Update app.py
#1
by linoyts HF Staff - opened
123 unmodified lines12412512612712712812913024 unmodified lines1551561571581591581591601619 unmodified lines171172173175174175176115 unmodified lines292293294297295123 unmodified lines cfg_guidance_scale: float, height: int, width: int, progress=gr.Progress() progress=gr.Progress(track_tqdm=True)): """Generate a video based on the given parameters.""" try:24 unmodified lines # Format: (image_path, frame_idx, strength) images = [(str(temp_image_path), 0, 1.0)]
# Run inference progress(0, desc="Generating video (2-stage)...") # Run inference - progress automatically tracks tqdm from pipeline pipeline( prompt=prompt, negative_prompt=negative_prompt,9 unmodified lines tiling_config=TilingConfig.default(), )
progress(1.0, desc="Done!") return str(output_path)
except Exception as e:115 unmodified lines
if __name__ == "__main__": demo.launch() demo.launch()app.py+3-5