wishmi1234 commited on
Commit
2f0fa1d
·
verified ·
1 Parent(s): c5cfc74

Update app.py

Browse files

Added search_tool, weather_info_tool and hub_stats_tool

Files changed (1) hide show
  1. app.py +1 -1
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'.")