Spaces:
Runtime error
Runtime error
Update newapi.py
Browse files
newapi.py
CHANGED
@@ -62,4 +62,4 @@ async def glioma_stage(file: UploadFile = File(...)):
|
|
62 |
return JSONResponse(content={"glioma_stage": result})
|
63 |
|
64 |
except Exception as e:
|
65 |
-
return JSONResponse(content={"error": str(e)})
|
|
|
62 |
return JSONResponse(content={"glioma_stage": result})
|
63 |
|
64 |
except Exception as e:
|
65 |
+
return JSONResponse(content={"error": str(e)})
|