AItool commited on
Commit
8c5a1d8
·
verified ·
1 Parent(s): ba972ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ async def upload_file(file: UploadFile = File(...)):
170
  # Await file upload
171
  contents = await file.read()
172
  img = Image.open(BytesIO(contents)).convert("RGB")
173
- rectangled_img = fill_rectangle_cropper_cropper(img)
174
 
175
  # Save the rectangle image (original size)
176
  output = BytesIO()
 
170
  # Await file upload
171
  contents = await file.read()
172
  img = Image.open(BytesIO(contents)).convert("RGB")
173
+ rectangled_img = fill_rectangle_cropper(img)
174
 
175
  # Save the rectangle image (original size)
176
  output = BytesIO()