Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ ninja_api_key = os.environ['NINJA_API_KEY']
|
|
| 12 |
|
| 13 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 14 |
@tool
|
| 15 |
-
def get_nutrition_facts(query:str)-> str:
|
| 16 |
"""A tool that fetches nutrition facts from a given text.
|
| 17 |
Args:
|
| 18 |
food_text: A string representing valid food items (e.g. 1lb brisket and fries)
|
|
|
|
| 12 |
|
| 13 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 14 |
@tool
|
| 15 |
+
def get_nutrition_facts(query: str)-> str:
|
| 16 |
"""A tool that fetches nutrition facts from a given text.
|
| 17 |
Args:
|
| 18 |
food_text: A string representing valid food items (e.g. 1lb brisket and fries)
|