Spaces:
Runtime error
Runtime error
Hotfix / wrong comment
Browse files224 unmodified lines225226227228229230231232233234235236237238239240224 unmodified linesself.pipe.controlnet.set_attn_processor(processor=self.controlnet_attn_proc)# added_prompt = 'best quality, extremely detailed'# 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)control = utils.pre_process_depth(video).to(self.device).to(self.dtype)depth_map_to_save = list(rearrange(control, 'f c w h -> f w h c').cpu().detach().numpy())_ = utils.create_video(depth_map_to_save, 4, path="ddxk.mp4", watermark=None)f, _, h, w = video.shapeself.generator.manual_seed(seed)224 unmodified lines225226227228229230231232233234235236237238239240224 unmodified linesself.pipe.controlnet.set_attn_processor(processor=self.controlnet_attn_proc)added_prompt = 'best quality, extremely detailed'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)control = utils.pre_process_depth(video).to(self.device).to(self.dtype)# depth_map_to_save = list(rearrange(control, 'f c w h -> f w h c').cpu().detach().numpy())# _ = utils.create_video(depth_map_to_save, 4, path="ddxk.mp4", watermark=None)f, _, h, w = video.shapeself.generator.manual_seed(seed)
model.py+4-4