Update main.py
Browse files
main.py
CHANGED
@@ -92,6 +92,6 @@ async def read_root(request: Request, file: UploadFile = File(...)):
|
|
92 |
try:
|
93 |
json_data = await request.json()
|
94 |
except error:
|
95 |
-
print error
|
96 |
|
97 |
return {"filename": file.filename, "filepath": f"/app/{file.filename}"}
|
|
|
92 |
try:
|
93 |
json_data = await request.json()
|
94 |
except error:
|
95 |
+
print (error)
|
96 |
|
97 |
return {"filename": file.filename, "filepath": f"/app/{file.filename}"}
|