fffiloni commited on
Commit
7e5988c
1 Parent(s): 8eb20e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 resized_img
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):