Spaces:
Sleeping
Sleeping
Update app.py
Browse filesAdded search_tool, weather_info_tool and hub_stats_tool
app.py
CHANGED
|
@@ -17,7 +17,7 @@ from smolagents import CodeAgent, InferenceClientModel
|
|
| 17 |
model = InferenceClientModel()
|
| 18 |
|
| 19 |
# Create Alfred, our gala agent, with the guest info tool
|
| 20 |
-
alfred = CodeAgent(tools=[guest_info_tool], model=model)
|
| 21 |
|
| 22 |
# Example query Alfred might receive during the gala
|
| 23 |
response = alfred.run("Tell me about our guest named 'Lady Ada Lovelace'.")
|
|
|
|
| 17 |
model = InferenceClientModel()
|
| 18 |
|
| 19 |
# Create Alfred, our gala agent, with the guest info tool
|
| 20 |
+
alfred = CodeAgent(tools=[guest_info_tool, search_tool, weather_info_tool, hub_stats_tool], model=model)
|
| 21 |
|
| 22 |
# Example query Alfred might receive during the gala
|
| 23 |
response = alfred.run("Tell me about our guest named 'Lady Ada Lovelace'.")
|