LN1996 commited on
Commit
de69b45
1 Parent(s): d218294

Update app.py

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