Spaces:
Running
Running
Update app.py
Browse files
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="
|
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")]
|