Update README.md
Browse files
README.md
CHANGED
|
@@ -26,7 +26,7 @@ model_id = "yutengz/Action2Vision"
|
|
| 26 |
pipe = StableDiffusionInstructPix2PixPipeline.from_pretrained(model_id, torch_dtype=torch.float16, safety_checker=None)
|
| 27 |
pipe.to("cuda")
|
| 28 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
| 29 |
-
url = "https://github.com/yutengzhang03/
|
| 30 |
def download_image(url):
|
| 31 |
image = PIL.Image.open(requests.get(url, stream=True).raw)
|
| 32 |
image = PIL.ImageOps.exif_transpose(image)
|
|
|
|
| 26 |
pipe = StableDiffusionInstructPix2PixPipeline.from_pretrained(model_id, torch_dtype=torch.float16, safety_checker=None)
|
| 27 |
pipe.to("cuda")
|
| 28 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
| 29 |
+
url = "https://github.com/yutengzhang03/Action2Vision/blob/main/img/source.png"
|
| 30 |
def download_image(url):
|
| 31 |
image = PIL.Image.open(requests.get(url, stream=True).raw)
|
| 32 |
image = PIL.ImageOps.exif_transpose(image)
|