Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def infer(input_image, prompt, seed=42, randomize_seed=False, guidance_scale=2.5
|
|
| 38 |
# new_width = int(original_width * (new_height / original_height))
|
| 39 |
# new_width = round(new_width / 64) * 64
|
| 40 |
|
| 41 |
-
input_image_resized = input_image.resize((new_width, new_height), Image.LANCZOS)
|
| 42 |
image = pipe(
|
| 43 |
image=input_image,
|
| 44 |
prompt=prompt,
|
|
|
|
| 38 |
# new_width = int(original_width * (new_height / original_height))
|
| 39 |
# new_width = round(new_width / 64) * 64
|
| 40 |
|
| 41 |
+
#input_image_resized = input_image.resize((new_width, new_height), Image.LANCZOS)
|
| 42 |
image = pipe(
|
| 43 |
image=input_image,
|
| 44 |
prompt=prompt,
|