Spaces:
Sleeping
Sleeping
Update app.py
Browse files65 unmodified lines666768697071727365 unmodified linestool_1 = smolagents.Tool(name="FavoriteWeather", function=weather_tool)
# Example usage (you can use this to test the tool)from smolagents.agents import Agent # Importing Agent correctly
agent = smolagents.Agent(tools=[tool_1])response = agent.run("sunny")print(response) # Should print the response for "sunny" weatherapp.py+2