luodi11 commited on
Commit
0686d5d
·
verified ·
1 Parent(s): 481c62e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from smolagents import CodeAgent, DuckDuckGoSearchTool, InferenceClientModel
2
+
3
+ agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=InferenceClientModel())
4
+
5
+ agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")