committed by
Sylvain Gugger
parent
b1189abc99
commit
3652e1665b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user