Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
662751b4
Unverified
Commit
662751b4
authored
May 11, 2023
by
Freddy Boulton
Committed by
GitHub
May 11, 2023
Browse files
Fix typo in gradio-tools docs (#23305)
Fix typo
parent
f76fb3ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/en/custom_tools.mdx
docs/source/en/custom_tools.mdx
+1
-1
No files found.
docs/source/en/custom_tools.mdx
View file @
662751b4
...
@@ -726,7 +726,7 @@ We pass that instance to the `Tool.from_gradio` method:
...
@@ -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_tool
s
)
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment