Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def resize_image(image_path, target_height, output_path):
|
|
| 14 |
resized_img = img.resize((new_width, target_height), Image.LANCZOS)
|
| 15 |
# Save the resized image
|
| 16 |
resized_img.save(output_path)
|
| 17 |
-
return
|
| 18 |
|
| 19 |
|
| 20 |
def generate(image, prompt, seed):
|
|
|
|
| 14 |
resized_img = img.resize((new_width, target_height), Image.LANCZOS)
|
| 15 |
# Save the resized image
|
| 16 |
resized_img.save(output_path)
|
| 17 |
+
return output_path
|
| 18 |
|
| 19 |
|
| 20 |
def generate(image, prompt, seed):
|