Spaces:
Sleeping
Sleeping
Commit
·
bec2678
1
Parent(s):
bd8dbdd
Update app.py
Browse files
app.py
CHANGED
@@ -607,11 +607,7 @@ async def resources_endpoint(profile: MedicalProfile):
|
|
607 |
"score": float(score)
|
608 |
})
|
609 |
return {"resources": resources, "success": True}
|
610 |
-
|
611 |
-
# Handle unexpected errors
|
612 |
-
print(f"Unexpected error: {e}")
|
613 |
-
raise HTTPException(status_code=500, detail=str(e))
|
614 |
-
|
615 |
|
616 |
@app.post("/api/recipes")
|
617 |
async def recipes_endpoint(profile: MedicalProfile):
|
|
|
607 |
"score": float(score)
|
608 |
})
|
609 |
return {"resources": resources, "success": True}
|
610 |
+
|
|
|
|
|
|
|
|
|
611 |
|
612 |
@app.post("/api/recipes")
|
613 |
async def recipes_endpoint(profile: MedicalProfile):
|