Mohamed41 commited on
Commit
ca4ba6e
·
1 Parent(s): 64d0dc4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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}"}