patrickvonplaten commited on
Commit
cf17627
1 Parent(s): 4fd141b
fantasy_landscape_0.png CHANGED

Git LFS Details

  • SHA256: c29c3d1208d05568ec3ca143783452ceb46c4b1be4c15cb4ad7f599e77ea22c9
  • Pointer size: 132 Bytes
  • Size of remote file: 1.24 MB

Git LFS Details

  • SHA256: 17b684d09ec0e9285abe127b5293c04df87786ee700b83f8fb63605732521d9c
  • Pointer size: 131 Bytes
  • Size of remote file: 795 kB
fantasy_landscape_1.png CHANGED

Git LFS Details

  • SHA256: 87db3c19f47fa9df2ffb119eb540f33ab30dfcb1a9f8b9f0c8a7f73cc86af617
  • Pointer size: 132 Bytes
  • Size of remote file: 1.27 MB

Git LFS Details

  • SHA256: cf4d98ec57955bbb05537f5113ea3683bada92031109378c058091660eebc1c3
  • Pointer size: 131 Bytes
  • Size of remote file: 812 kB
fantasy_landscape_2.png CHANGED

Git LFS Details

  • SHA256: 5ab81e336517a64985e6fb4f00e1dd240936de295388ea6d572fb8d0f2cf1e60
  • Pointer size: 132 Bytes
  • Size of remote file: 1.26 MB

Git LFS Details

  • SHA256: 56e227e768c5a593802ffc443a9b9b0d30ee76d4ecd4f11f48516b3b2fd597d7
  • Pointer size: 131 Bytes
  • Size of remote file: 775 kB
fantasy_landscape_3.png CHANGED

Git LFS Details

  • SHA256: 3bb6d697d0bf44253782c195f856d05e6161ea57549056ce09f9c14f02fba4df
  • Pointer size: 132 Bytes
  • Size of remote file: 1.25 MB

Git LFS Details

  • SHA256: d1a3dd32d0ed9dbe7346038dbe16daf934b755cb977ee7a83e9e725ead696348
  • Pointer size: 131 Bytes
  • Size of remote file: 794 kB
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://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")
 
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")