From 3652e1665b8777c35dd2bde806b2fd38ea39ccce Mon Sep 17 00:00:00 2001 From: Freddy Boulton Date: Thu, 11 May 2023 14:31:28 -0400 Subject: [PATCH] Fix typo in gradio-tools docs (#23305) Fix typo --- docs/source/en/custom_tools.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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