multimodalart HF staff commited on
Commit
5435da9
β€’
1 Parent(s): 47222f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -432,7 +432,7 @@ with gr.Blocks(css="custom.css") as demo:
432
  queue=False,
433
  show_progress=False
434
  )
435
- photo.input(
436
  fn=center_crop_image_as_square,
437
  inputs=[photo],
438
  outputs=[photo],
 
432
  queue=False,
433
  show_progress=False
434
  )
435
+ photo.change(
436
  fn=center_crop_image_as_square,
437
  inputs=[photo],
438
  outputs=[photo],