Spaces:
Runtime error
Runtime error
Video length limitation
Browse filesFiles changed (2)
- app_pix2pix_video.py+2-2
- model.py+1-1
48 unmodified lines495051525253545556575758596048 unmodified lines step=0.1) start_t = gr.Slider(label='Starting time in seconds', minimum=0, maximum=10, maximum=15, value=0, step=1) end_t = gr.Slider(label='End time in seconds (-1 corresponds to uploaded video duration)', minimum=0, maximum=10, maximum=15, value=-1, step=1) out_fps = gr.Slider(label='Output video fps (-1 corresponds to uploaded video fps)',139 unmodified lines140141142143143144145146139 unmodified lines negative_prompts = 'longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality'
video, fps = utils.prepare_video( video_path, resolution, self.device, self.dtype, False) video_path, resolution, self.device, self.dtype, False, 0, 15) control = utils.pre_process_canny( video, low_threshold, high_threshold).to(self.device).to(self.dtype) f, _, h, w = video.shapeapp_pix2pix_video.py+2-2
model.py+1-1