Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ def generate(
|
|
| 72 |
pipe.load_lora_weights(lora)
|
| 73 |
pipe.fuse_lora(lora_scale=0.7)
|
| 74 |
|
| 75 |
-
url =
|
| 76 |
response = requests.get(url)
|
| 77 |
init_image = Image.open(BytesIO(response.content)).convert("RGB")
|
| 78 |
init_image = init_image.resize((1024, 1024))
|
|
|
|
| 72 |
pipe.load_lora_weights(lora)
|
| 73 |
pipe.fuse_lora(lora_scale=0.7)
|
| 74 |
|
| 75 |
+
url = lora
|
| 76 |
response = requests.get(url)
|
| 77 |
init_image = Image.open(BytesIO(response.content)).convert("RGB")
|
| 78 |
init_image = init_image.resize((1024, 1024))
|