Spaces:
Runtime error
Runtime error
Video length limitation
Browse filesFiles changed (2)
- app_pix2pix_video.py+2-2
- model.py+1-1
48 unmodified lines49505152535455565758596048 unmodified linesstep=0.1)start_t = gr.Slider(label='Starting time in seconds',minimum=0,maximum=10,value=0,step=1)end_t = gr.Slider(label='End time in seconds (-1 corresponds to uploaded video duration)',minimum=0,maximum=10,value=-1,step=1)out_fps = gr.Slider(label='Output video fps (-1 corresponds to uploaded video fps)',48 unmodified lines49505152535455565758596048 unmodified linesstep=0.1)start_t = gr.Slider(label='Starting time in seconds',minimum=0,maximum=15,value=0,step=1)end_t = gr.Slider(label='End time in seconds (-1 corresponds to uploaded video duration)',minimum=0,maximum=15,value=-1,step=1)out_fps = gr.Slider(label='Output video fps (-1 corresponds to uploaded video fps)',
139 unmodified lines140141142143144145146139 unmodified linesnegative_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)control = utils.pre_process_canny(video, low_threshold, high_threshold).to(self.device).to(self.dtype)f, _, h, w = video.shape139 unmodified lines140141142143144145146139 unmodified linesnegative_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, 0, 15)control = utils.pre_process_canny(video, low_threshold, high_threshold).to(self.device).to(self.dtype)f, _, h, w = video.shape
app_pix2pix_video.py+2-2
model.py+1-1