Spaces:
Build error
Build error
Update app.py
Browse files348 unmodified lines34935035135235335435573 unmodified lines429430431432433434435348 unmodified linesori_lengths = [video.size(1) for video in cond_latents]input_videos = cond_latentscond_latents = [cut_videos(video, sp_size) for video in cond_latents]# runner.dit.to("cpu")print(f"Encoding videos: {list(map(lambda x: x.size(), cond_latents))}")73 unmodified linesfps = gr.Number(label="fps", value=24)with gr.Row():output_video = gr.Video(label="Output")output_image = gr.Image(label="Output_Image")download_link = gr.File(label="Download the output")348 unmodified lines34935035135235335435535673 unmodified lines430431432433434435436348 unmodified linesori_lengths = [video.size(1) for video in cond_latents]input_videos = cond_latentsif is_video:cond_latents = [cut_videos(video, sp_size) for video in cond_latents]# runner.dit.to("cpu")print(f"Encoding videos: {list(map(lambda x: x.size(), cond_latents))}")73 unmodified linesfps = gr.Number(label="fps", value=24)with gr.Row():output_video = gr.Video(label="Output_Video")output_image = gr.Image(label="Output_Image")download_link = gr.File(label="Download the output")
app.py+3-2