Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ license: apache-2.0
|
|
| 7 |
|
| 8 |
## Model Introduction
|
| 9 |
|
| 10 |
-
This model is an image structure control model based on [Qwen-Image](https://www.modelscope.cn/models/Qwen/Qwen-Image), with a ControlNet architecture that enables control
|
| 11 |
|
| 12 |
## Result Demonstration
|
| 13 |
|
|
@@ -50,12 +50,11 @@ dataset_snapshot_download(
|
|
| 50 |
)
|
| 51 |
|
| 52 |
controlnet_image = Image.open("data/example_image_dataset/depth/image_1.jpg").resize((1328, 1328))
|
| 53 |
-
|
| 54 |
|
| 55 |
prompt = "Exquisite portrait, underwater girl, flowing blue dress, gently floating hair, translucent lighting, surrounded by bubbles, serene expression, intricate details, dreamy and ethereal."
|
| 56 |
image = pipe(
|
| 57 |
prompt, seed=0,
|
| 58 |
blockwise_controlnet_inputs=[ControlNetInput(image=controlnet_image)]
|
| 59 |
)
|
| 60 |
-
image.save("image.jpg")
|
| 61 |
-
```
|
|
|
|
| 7 |
|
| 8 |
## Model Introduction
|
| 9 |
|
| 10 |
+
This model is an image structure control model based on [Qwen-Image](https://www.modelscope.cn/models/Qwen/Qwen-Image), with a ControlNet architecture that enables structural control of generated images using depth maps. The training framework is built upon [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio), and the dataset used for training is [BLIP3o](https://modelscope.cn/datasets/BLIP3o/BLIP3o-60k).
|
| 11 |
|
| 12 |
## Result Demonstration
|
| 13 |
|
|
|
|
| 50 |
)
|
| 51 |
|
| 52 |
controlnet_image = Image.open("data/example_image_dataset/depth/image_1.jpg").resize((1328, 1328))
|
| 53 |
+
```
|
| 54 |
|
| 55 |
prompt = "Exquisite portrait, underwater girl, flowing blue dress, gently floating hair, translucent lighting, surrounded by bubbles, serene expression, intricate details, dreamy and ethereal."
|
| 56 |
image = pipe(
|
| 57 |
prompt, seed=0,
|
| 58 |
blockwise_controlnet_inputs=[ControlNetInput(image=controlnet_image)]
|
| 59 |
)
|
| 60 |
+
image.save("image.jpg")
|
|
|