peterbonnesoeur's picture
Added optional typing
cbb18dd
raw
history blame contribute delete
151 Bytes
from smolagents import launch_gradio_demo
from typing import Optional
from tool import TranslateTool
tool = TranslateTool()
launch_gradio_demo(tool)