Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def generate(
|
|
65 |
|
66 |
response = requests.get(url)
|
67 |
init_image = Image.open(BytesIO(response.content)).convert("RGB")
|
68 |
-
init_image = init_image.resize((
|
69 |
|
70 |
if use_lora:
|
71 |
pipe.load_lora_weights(lora)
|
|
|
65 |
|
66 |
response = requests.get(url)
|
67 |
init_image = Image.open(BytesIO(response.content)).convert("RGB")
|
68 |
+
init_image = init_image.resize((width, height))
|
69 |
|
70 |
if use_lora:
|
71 |
pipe.load_lora_weights(lora)
|