eeenn commited on
Commit
6f154c6
·
verified ·
1 Parent(s): 9204efb

Update tools/party_song.py

Browse files
Files changed (1) hide show
  1. tools/party_song.py +8 -9
tools/party_song.py CHANGED
@@ -1,9 +1,8 @@
1
- from huggingface_hub import login
2
-
3
- login()
4
-
5
- from smolagents import CodeAgent, DuckDuckGoSearchTool, InferenceClientModel
6
-
7
- agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=InferenceClientModel())
8
-
9
- agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")
 
1
+ from smolagents import CodeAgent, DuckDuckGoSearchTool, InferenceClientModel
2
+
3
+ agent = CodeAgent(
4
+ tools=[DuckDuckGoSearchTool()],
5
+ model=InferenceClientModel()
6
+ )
7
+
8
+ agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")