Fix typo in gradio-tools docs (#23305)

Fix typo
This commit is contained in:
Freddy Boulton
2023-05-11 14:31:28 -04:00
committed by Sylvain Gugger
parent b1189abc99
commit 3652e1665b

View File

@@ -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