Inigozr commited on
Commit
9cd86d8
·
1 Parent(s): 8b7fae6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def draw_boxes(image, boxes):
43
  return image
44
 
45
 
46
- @app.post("/uploadfile/")
47
  async def create_upload_file(file: UploadFile = File(...)):
48
  contents = await file.read()
49
  image = Image.open(io.BytesIO(contents))
 
43
  return image
44
 
45
 
46
+ @app.post("/uploadfile")
47
  async def create_upload_file(file: UploadFile = File(...)):
48
  contents = await file.read()
49
  image = Image.open(io.BytesIO(contents))