Update main.py
Browse files
main.py
CHANGED
@@ -113,4 +113,4 @@ async def read_root( file: UploadFile = File(...)):
|
|
113 |
|
114 |
|
115 |
x = prediction("tmp"+file_extension)
|
116 |
-
return {"filename": file.filename, "filepath": f"/app/{file.filename}","prediction
|
|
|
113 |
|
114 |
|
115 |
x = prediction("tmp"+file_extension)
|
116 |
+
return {"filename": file.filename, "filepath": f"/app/{file.filename}","prediction":x}
|