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
655fd068
Commit
655fd068
authored
Dec 20, 2019
by
thomwolf
Browse files
clean up
parent
e5812462
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
transformers/commands/run.py
transformers/commands/run.py
+0
-1
No files found.
transformers/commands/run.py
View file @
655fd068
...
...
@@ -63,7 +63,6 @@ class RunCommand(BaseTransformersCLICommand):
for
entry
in
self
.
_reader
:
output
=
nlp
(
**
entry
)
if
self
.
_reader
.
is_multi_columns
else
nlp
(
entry
)
print
(
output
)
if
isinstance
(
output
,
dict
):
outputs
.
append
(
output
)
else
:
...
...
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