Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,6 +78,10 @@ chain_parallel = RunnableParallel({'chat_nutrition_prompt':chain1,
|
|
| 78 |
'chat_health_benefits_prompt':chain2,
|
| 79 |
'chat_recipes_prompt':chain3})
|
| 80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
@app.post("/predictNUT")
|
| 82 |
async def predict_image_and_nutrition(file: UploadFile = File(...)):
|
| 83 |
try:
|
|
|
|
| 78 |
'chat_health_benefits_prompt':chain2,
|
| 79 |
'chat_recipes_prompt':chain3})
|
| 80 |
|
| 81 |
+
@app.get("/")
|
| 82 |
+
def read_root():
|
| 83 |
+
return {"message": "This is My Nutrionguid App FAST"}
|
| 84 |
+
|
| 85 |
@app.post("/predictNUT")
|
| 86 |
async def predict_image_and_nutrition(file: UploadFile = File(...)):
|
| 87 |
try:
|