amrtahlawi commited on
Commit
f31b0df
·
verified ·
1 Parent(s): c777c2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def food_nutrition(subject: str) -> str:
22
  results = search_tool(f"Nutrition facts for {subject}")
23
 
24
  if results and len(results) > 0:
25
- combination = results[0]
26
  return f"🍽️ Here's the nutrition facts for {subject}: {combination}"
27
 
28
  return f"Sorry, I couldn't find any nutrition facts for {subject}."
 
22
  results = search_tool(f"Nutrition facts for {subject}")
23
 
24
  if results and len(results) > 0:
25
+ combination = results
26
  return f"🍽️ Here's the nutrition facts for {subject}: {combination}"
27
 
28
  return f"Sorry, I couldn't find any nutrition facts for {subject}."