multimodalart HF staff commited on
Commit
47222f8
1 Parent(s): 560d75d

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.upload(
436
  fn=center_crop_image_as_square,
437
  inputs=[photo],
438
  outputs=[photo],
 
432
  queue=False,
433
  show_progress=False
434
  )
435
+ photo.input(
436
  fn=center_crop_image_as_square,
437
  inputs=[photo],
438
  outputs=[photo],