patrickvonplaten
commited on
Commit
•
908f101
1
Parent(s):
e567b02
up
Browse files- fantasy_landscape.png +2 -2
- run.py +1 -0
fantasy_landscape.png
CHANGED
Git LFS Details
|
Git LFS Details
|
run.py
CHANGED
@@ -10,6 +10,7 @@ pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1-uncli
|
|
10 |
pipe.to("cuda")
|
11 |
|
12 |
url = "https://raw.githubusercontent.com/CompVis/stable-diffusion/main/assets/stable-samples/img2img/sketch-mountains-input.jpg"
|
|
|
13 |
|
14 |
response = requests.get(url)
|
15 |
init_image = Image.open(BytesIO(response.content)).convert("RGB")
|
|
|
10 |
pipe.to("cuda")
|
11 |
|
12 |
url = "https://raw.githubusercontent.com/CompVis/stable-diffusion/main/assets/stable-samples/img2img/sketch-mountains-input.jpg"
|
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")
|