ajitkumar22 commited on
Commit
d81ee83
·
verified ·
1 Parent(s): 5dfcaf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -112,5 +112,11 @@ agent = CodeAgent(
112
  prompt_templates=prompt_templates
113
  )
114
 
 
115
 
116
- GradioUI(agent).launch()
 
 
 
 
 
 
112
  prompt_templates=prompt_templates
113
  )
114
 
115
+ from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel
116
 
117
+ agent2 = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel())
118
+
119
+ #agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")
120
+
121
+
122
+ GradioUI(agent2).launch()