@@ -726,7 +726,7 @@ We pass that instance to the `Tool.from_gradio` method:
|
|||||||
```python
|
```python
|
||||||
from transformers import Tool
|
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
|
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