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