Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def generate(
|
|
63 |
if use_img2img:
|
64 |
pipe = StableDiffusionImg2ImgPipeline.from_pretrained(model, torch_dtype=torch.float16)
|
65 |
|
66 |
-
response = requests.get(
|
67 |
init_image = Image.open(BytesIO(response.content)).convert("RGB")
|
68 |
init_image = init_image.resize((1024, 1024))
|
69 |
|
|
|
63 |
if use_img2img:
|
64 |
pipe = StableDiffusionImg2ImgPipeline.from_pretrained(model, torch_dtype=torch.float16)
|
65 |
|
66 |
+
response = requests.get("https://s3.amazonaws.com/appforest_uf/f1712524718776x747602231923886500/image.png")
|
67 |
init_image = Image.open(BytesIO(response.content)).convert("RGB")
|
68 |
init_image = init_image.resize((1024, 1024))
|
69 |
|