Update app.py
Browse files
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
|
|
|
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:
|