LN1996 commited on
Commit
9acd6a4
1 Parent(s): 3ed4f47

Update app.py

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