Sudipta Nayak
commited on
Commit
·
f5fb166
1
Parent(s):
b3619b5
issue fix-4
Browse files- 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.
|
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 |
|