from smolagents import launch_gradio_demo from tool import WeatherTool tool = WeatherTool() launch_gradio_demo(tool)