jmccarty's picture
Update app.py
91f5895 verified
raw
history blame contribute delete
301 Bytes
pip install smolagents -U
from huggingface_hub import login
login()
ffrom smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel
agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel())
agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")