animrods commited on
Commit
db73a2d
·
verified ·
1 Parent(s): 7fea5e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ with image_blocks as demo:
100
  ''')
101
  with gr.Row():
102
  with gr.Column():
103
- image = gr.Image(elem_id="image_upload", type="pil", label="Upload", height=400)
104
  # image = gr.Image(sources=None, type="pil") # None for upload, ctrl+v and webcam
105
 
106
 
 
100
  ''')
101
  with gr.Row():
102
  with gr.Column():
103
+ image = gr.ImageEditor(elem_id="image_upload", type="pil", label="Upload", height=400, crop_size="1:1")
104
  # image = gr.Image(sources=None, type="pil") # None for upload, ctrl+v and webcam
105
 
106