patrickvonplaten
commited on
Commit
•
cf17627
1
Parent(s):
4fd141b
up
Browse files- fantasy_landscape_0.png +2 -2
- fantasy_landscape_1.png +2 -2
- fantasy_landscape_2.png +2 -2
- fantasy_landscape_3.png +2 -2
- run.py +4 -2
fantasy_landscape_0.png
CHANGED
Git LFS Details
|
Git LFS Details
|
fantasy_landscape_1.png
CHANGED
Git LFS Details
|
Git LFS Details
|
fantasy_landscape_2.png
CHANGED
Git LFS Details
|
Git LFS Details
|
fantasy_landscape_3.png
CHANGED
Git LFS Details
|
Git LFS Details
|
run.py
CHANGED
@@ -9,8 +9,10 @@ from diffusers import DiffusionPipeline
|
|
9 |
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1-unclip", torch_dtype=torch.float16, variant="fp16")
|
10 |
pipe.to("cuda")
|
11 |
|
12 |
-
url = "https://
|
13 |
-
url = "https://huggingface.co/datasets/hf-internal-testing/diffusers-images/resolve/main/stable_unclip/image%20(10).png"
|
|
|
|
|
14 |
|
15 |
response = requests.get(url)
|
16 |
init_image = Image.open(BytesIO(response.content)).convert("RGB")
|
|
|
9 |
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1-unclip", torch_dtype=torch.float16, variant="fp16")
|
10 |
pipe.to("cuda")
|
11 |
|
12 |
+
url = "https://huggingface.co/datasets/hf-internal-testing/diffusers-images/resolve/main/stable_unclip/image%20(12).png"
|
13 |
+
#url = "https://huggingface.co/datasets/hf-internal-testing/diffusers-images/resolve/main/stable_unclip/image%20(10).png"
|
14 |
+
#url = "https://huggingface.co/datasets/hf-internal-testing/diffusers-images/resolve/main/stable_unclip/image%20(10).png"
|
15 |
+
#url = "https://huggingface.co/datasets/hf-internal-testing/diffusers-images/resolve/main/stable_unclip/image%20(10).png"
|
16 |
|
17 |
response = requests.get(url)
|
18 |
init_image = Image.open(BytesIO(response.content)).convert("RGB")
|