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