Sudipta Nayak commited on
Commit
f5fb166
·
1 Parent(s): b3619b5

issue fix-4

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -42,7 +42,7 @@ async def detect_objects(request: Request, file: UploadFile):
42
 
43
  # Save the uploaded file
44
  with open(input_file_path, "wb") as file:
45
- file.write(file.file.read())
46
 
47
  print('Detect start')
48
 
 
42
 
43
  # Save the uploaded file
44
  with open(input_file_path, "wb") as file:
45
+ file.write(file.read())
46
 
47
  print('Detect start')
48