diff --git a/docs/source/en/custom_tools.mdx b/docs/source/en/custom_tools.mdx index 3f53ad8737..23ca4bccba 100644 --- a/docs/source/en/custom_tools.mdx +++ b/docs/source/en/custom_tools.mdx @@ -726,7 +726,7 @@ We pass that instance to the `Tool.from_gradio` method: ```python from transformers import Tool -tool = Tool.from_gradio(gradio_tools) +tool = Tool.from_gradio(gradio_tool) ``` Now we can manage it exactly as we would a usual custom tool. We leverage it to improve our prompt