Spaces:
Runtime error
Runtime error
update
Browse filesFiles changed (7)
- diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_canny.py+1-1
- diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_depth.py+1-2
- diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_hed.py+1-1
- diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_mlsd.py+1-1
- diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_pose.py+1-1
- diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_scribble.py+1-1
- diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_seg.py+1-2
41 unmodified lines424344454546474841 unmodified lines def load_image(self, image_path): image = np.array(image_path) image = Image.fromarray(image_path) image = Image.fromarray(image) return image
def controlnet_canny_inpaint(41 unmodified lines424344454546474848495041 unmodified lines
def load_image(self, image_path): image = np.array(image_path) image = Image.fromarray(image_path) image = Image.fromarray(image) return image
def controlnet_inpaint_depth(self, image_path: str): depth_estimator = pipeline("depth-estimation") image = image_path["image"].convert("RGB").resize((512, 512))41 unmodified lines424344454546474841 unmodified lines
def load_image(self, image_path): image = np.array(image_path) image = Image.fromarray(image_path) image = Image.fromarray(image) return image
41 unmodified lines424344454546474841 unmodified lines def load_image(self, image_path): image = np.array(image_path) image = Image.fromarray(image_path) image = Image.fromarray(image) return image
42 unmodified lines434445464647484942 unmodified lines def load_image(self, image_path): image = np.array(image_path) image = Image.fromarray(image_path) image = Image.fromarray(image) return image def controlnet_pose_inpaint(self, image_path: str):41 unmodified lines424344454546474841 unmodified lines def load_image(self, image_path): image = np.array(image_path) image = Image.fromarray(image_path) image = Image.fromarray(image) return image
def controlnet_inpaint_scribble(self, image_path: str):202 unmodified lines203204205206206207208208209210202 unmodified lines def load_image(self, image_path): image = np.array(image_path) image = Image.fromarray(image_path) image = Image.fromarray(image) return image
def controlnet_seg_inpaint(self, image_path: str): image_processor = AutoImageProcessor.from_pretrained( "openmmlab/upernet-convnext-small"diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_canny.py+1-1
diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_depth.py+1-2
diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_hed.py+1-1
diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_mlsd.py+1-1
diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_pose.py+1-1
diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_scribble.py+1-1
diffusion_webui/diffusion_models/controlnet/controlnet_inpaint/controlnet_inpaint_seg.py+1-2