Spaces:
Sleeping
Sleeping
Update tools/party_song.py
Browse files- tools/party_song.py +8 -9
tools/party_song.py
CHANGED
|
@@ -1,9 +1,8 @@
|
|
| 1 |
-
from
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 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.")
|
|
|