tonyassi commited on
Commit
a11c80c
1 Parent(s): 965c284

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -59,7 +59,8 @@ def generate(image_editor, prompt, neg_prompt, strength, guidance):
59
  #guidance_scale=guidance).images[0]
60
 
61
 
62
- final_image = final_image.crop((0, 0, original_image_size.width, original_image_size.height))
 
63
  return image_editor, image, mask, final_image
64
 
65
  with gr.Blocks() as demo:
 
59
  #guidance_scale=guidance).images[0]
60
 
61
 
62
+ final_image = final_image.crop((0, 0, original_image_size[0], original_image_size[1]))
63
+
64
  return image_editor, image, mask, final_image
65
 
66
  with gr.Blocks() as demo: