Spaces:
Sleeping
Sleeping
Updated @tool
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ from Gradio_UI import GradioUI
|
|
| 12 |
#agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")
|
| 13 |
|
| 14 |
# Tool to suggest a menu based on the occasion
|
|
|
|
| 15 |
def suggest_menu(occasion: str) -> str:
|
| 16 |
"""
|
| 17 |
Suggests a menu based on the occasion.
|
|
|
|
| 12 |
#agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")
|
| 13 |
|
| 14 |
# Tool to suggest a menu based on the occasion
|
| 15 |
+
@tool
|
| 16 |
def suggest_menu(occasion: str) -> str:
|
| 17 |
"""
|
| 18 |
Suggests a menu based on the occasion.
|