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
dbfeffd7
Unverified
Commit
dbfeffd7
authored
Jul 21, 2022
by
Zhi Zheng
Committed by
GitHub
Jul 21, 2022
Browse files
Update add_new_pipeline.mdx (#18224)
fix typo
parent
ff56b8fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/en/add_new_pipeline.mdx
docs/source/en/add_new_pipeline.mdx
+1
-1
No files found.
docs/source/en/add_new_pipeline.mdx
View file @
dbfeffd7
...
@@ -102,7 +102,7 @@ def _sanitize_parameters(self, **kwargs):
...
@@ -102,7 +102,7 @@ def _sanitize_parameters(self, **kwargs):
postprocess_kwargs = {}
postprocess_kwargs = {}
if "top_k" in kwargs:
if "top_k" in kwargs:
p
re
process_kwargs["top_k"] = kwargs["top_k"]
p
ost
process_kwargs["top_k"] = kwargs["top_k"]
return preprocess_kwargs, {}, postprocess_kwargs
return preprocess_kwargs, {}, postprocess_kwargs
```
```
...
...
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