Spaces:
Sleeping
Sleeping
Update app.py
Browse files65 unmodified lines66676869707165 unmodified linestool_1 = smolagents.Tool(name="FavoriteWeather", function=weather_tool)# Example usage (you can use this to test the tool)agent = smolagents.Agent(tools=[tool_1])response = agent.run("sunny")print(response) # Should print the response for "sunny" weather65 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 correctlyagent = smolagents.Agent(tools=[tool_1])response = agent.run("sunny")print(response) # Should print the response for "sunny" weather
app.py+2