linjinpeng
commited on
Commit
β’
6d03624
1
Parent(s):
ae71815
fix: file structure
Browse files- demo.py +3 -3
- 0.png β images/0.png +0 -0
- 0r.png β images/0r.png +0 -0
- 1.png β images/1.png +0 -0
- 3.png β images/3.png +0 -0
- 5.png β images/5.png +0 -0
- bucket_ali.png β images/bucket_ali.png +0 -0
- mask.jpeg β images/mask.jpeg +0 -0
- prod.png β images/prod.png +0 -0
- sd3.png β images/sd3.png +0 -0
demo.py
CHANGED
@@ -23,10 +23,10 @@ pipe.to("cuda")
|
|
23 |
|
24 |
# Load image
|
25 |
image = load_image(
|
26 |
-
"https://huggingface.co/alimama-creative/SD3-Controlnet-Inpainting/blob/main/prod.png"
|
27 |
)
|
28 |
mask = load_image(
|
29 |
-
"https://huggingface.co/alimama-creative/SD3-Controlnet-Inpainting/blob/main/mask.jpeg"
|
30 |
)
|
31 |
|
32 |
# Set args
|
@@ -50,4 +50,4 @@ res_image = pipe(
|
|
50 |
guidance_scale=7,
|
51 |
).images[0]
|
52 |
|
53 |
-
res_image.save(f'res.png')
|
|
|
23 |
|
24 |
# Load image
|
25 |
image = load_image(
|
26 |
+
"https://huggingface.co/alimama-creative/SD3-Controlnet-Inpainting/blob/main/images/prod.png"
|
27 |
)
|
28 |
mask = load_image(
|
29 |
+
"https://huggingface.co/alimama-creative/SD3-Controlnet-Inpainting/blob/main/images/mask.jpeg"
|
30 |
)
|
31 |
|
32 |
# Set args
|
|
|
50 |
guidance_scale=7,
|
51 |
).images[0]
|
52 |
|
53 |
+
res_image.save(f'res.png')
|
0.png β images/0.png
RENAMED
File without changes
|
0r.png β images/0r.png
RENAMED
File without changes
|
1.png β images/1.png
RENAMED
File without changes
|
3.png β images/3.png
RENAMED
File without changes
|
5.png β images/5.png
RENAMED
File without changes
|
bucket_ali.png β images/bucket_ali.png
RENAMED
File without changes
|
mask.jpeg β images/mask.jpeg
RENAMED
File without changes
|
prod.png β images/prod.png
RENAMED
File without changes
|
sd3.png β images/sd3.png
RENAMED
File without changes
|