patrickvonplaten commited on
Commit
908f101
1 Parent(s): e567b02
Files changed (2) hide show
  1. fantasy_landscape.png +2 -2
  2. run.py +1 -0
fantasy_landscape.png CHANGED

Git LFS Details

  • SHA256: 99a9d836b8a296b2bba08064da1a4844379dd9943b8c81d51c28274ce90b39a2
  • Pointer size: 131 Bytes
  • Size of remote file: 914 kB

Git LFS Details

  • SHA256: 6dca035e2fb8a8151e022ac93bae463d1ee70a7ce1c070b1f3bfb9ac80b3e771
  • Pointer size: 132 Bytes
  • Size of remote file: 1.24 MB
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")