wanghaofan commited on
Commit
372a032
·
verified ·
1 Parent(s): 61fd4b9

Update pipeline_qwenimage_controlnet_inpaint.py

Browse files
pipeline_qwenimage_controlnet_inpaint.py CHANGED
@@ -53,7 +53,7 @@ EXAMPLE_DOC_STRING = """
53
  >>> pipe = QwenImageControlNetInpaintPipeline.from_pretrained(base_model_path, controlnet=controlnet, torch_dtype=torch.bfloat16).to("cuda")
54
 
55
  >>> image = load_image("https://huggingface.co/InstantX/Qwen-Image-ControlNet-Inpainting/resolve/main/assets/images/image1.png")
56
- >>> mask_image = load_image("https://huggingface.co/InstantX/Qwen-Image-ControlNet-Inpainting/resolve/main/assets/masks/mask1.png"")
57
  >>> prompt = "一辆绿色的出租车行驶在路上"
58
 
59
  >>> result = pipe(
 
53
  >>> pipe = QwenImageControlNetInpaintPipeline.from_pretrained(base_model_path, controlnet=controlnet, torch_dtype=torch.bfloat16).to("cuda")
54
 
55
  >>> image = load_image("https://huggingface.co/InstantX/Qwen-Image-ControlNet-Inpainting/resolve/main/assets/images/image1.png")
56
+ >>> mask_image = load_image("https://huggingface.co/InstantX/Qwen-Image-ControlNet-Inpainting/resolve/main/assets/masks/mask1.png")
57
  >>> prompt = "一辆绿色的出租车行驶在路上"
58
 
59
  >>> result = pipe(