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