Update README.md
Browse files
README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
license: other
|
3 |
license_name: bria-2.3
|
4 |
license_link: https://bria.ai/bria-huggingface-model-license-agreement/
|
|
|
5 |
---
|
6 |
|
7 |
---
|
@@ -41,6 +42,8 @@ widget:
|
|
41 |
url: "exp_1.png"
|
42 |
<Gallery/>
|
43 |
|
|
|
|
|
44 |
### Model Description
|
45 |
|
46 |
- **Developed by:** BRIA AI
|
@@ -89,7 +92,7 @@ negative_prompt = "Logo,Watermark,Text,Ugly,Morbid,Extra fingers,Poorly drawn ha
|
|
89 |
|
90 |
# Create ColorGrid image
|
91 |
input_image = Image.open('pics/singer.png')
|
92 |
-
control_image =
|
93 |
|
94 |
image = pipe(prompt=prompt, negative_prompt=negative_prompt, image=control_image, controlnet_conditioning_scale=1.0, height=1024, width=1024).images[0]
|
95 |
```
|
|
|
2 |
license: other
|
3 |
license_name: bria-2.3
|
4 |
license_link: https://bria.ai/bria-huggingface-model-license-agreement/
|
5 |
+
pipeline_tag: image-to-image
|
6 |
---
|
7 |
|
8 |
---
|
|
|
42 |
url: "exp_1.png"
|
43 |
<Gallery/>
|
44 |
|
45 |
+

|
46 |
+
|
47 |
### Model Description
|
48 |
|
49 |
- **Developed by:** BRIA AI
|
|
|
92 |
|
93 |
# Create ColorGrid image
|
94 |
input_image = Image.open('pics/singer.png')
|
95 |
+
control_image = input_image.resize((16, 16)).resize((1024,1024), Image.NEAREST)
|
96 |
|
97 |
image = pipe(prompt=prompt, negative_prompt=negative_prompt, image=control_image, controlnet_conditioning_scale=1.0, height=1024, width=1024).images[0]
|
98 |
```
|