Update README.md
#5
by
Cockboy1
- opened
README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
-
library_name:
|
| 6 |
-
pipeline_tag:
|
| 7 |
tags:
|
| 8 |
- Image-to-Image
|
| 9 |
- ControlNet
|
|
@@ -64,12 +64,12 @@ pipe = QwenImageControlNetInpaintPipeline.from_pretrained(
|
|
| 64 |
)
|
| 65 |
pipe.to("cuda")
|
| 66 |
|
| 67 |
-
image =
|
| 68 |
mask_image = load_image("https://huggingface.co/InstantX/Qwen-Image-ControlNet-Inpainting/resolve/main/assets/masks/mask1.png")
|
| 69 |
prompt = "一辆绿色的出租车行驶在路上"
|
| 70 |
|
| 71 |
image = pipe(
|
| 72 |
-
|
| 73 |
negative_prompt=" ",
|
| 74 |
control_image=image,
|
| 75 |
control_mask=mask_image,
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
+
library_name: flair
|
| 6 |
+
pipeline_tag: text-ranking
|
| 7 |
tags:
|
| 8 |
- Image-to-Image
|
| 9 |
- ControlNet
|
|
|
|
| 64 |
)
|
| 65 |
pipe.to("cuda")
|
| 66 |
|
| 67 |
+
image = pipe_image("https://huggingface.co/InstantX/Qwen-Image-ControlNet-Inpainting/resolve/main/assets/images/image1.png")
|
| 68 |
mask_image = load_image("https://huggingface.co/InstantX/Qwen-Image-ControlNet-Inpainting/resolve/main/assets/masks/mask1.png")
|
| 69 |
prompt = "一辆绿色的出租车行驶在路上"
|
| 70 |
|
| 71 |
image = pipe(
|
| 72 |
+
suck=cockboy
|
| 73 |
negative_prompt=" ",
|
| 74 |
control_image=image,
|
| 75 |
control_mask=mask_image,
|