Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks() as casa:
|
|
143 |
with gr.Row():
|
144 |
with gr.Column():
|
145 |
inputs = [
|
146 |
-
gr.ImageEditor(sources='upload', elem_id="image_upload", type="pil", label="Upload", layers=False, eraser=False, brush=False, transforms=['crop']),
|
147 |
]
|
148 |
with gr.Column():
|
149 |
outputs = [gr.Gallery(label="Similar products")]
|
|
|
143 |
with gr.Row():
|
144 |
with gr.Column():
|
145 |
inputs = [
|
146 |
+
gr.ImageEditor(sources='upload', elem_id="image_upload", type="pil", label="Upload", layers=False, eraser=False, brush=False, transforms=['crop'], crop_size="1:1"),
|
147 |
]
|
148 |
with gr.Column():
|
149 |
outputs = [gr.Gallery(label="Similar products")]
|