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
ca6ce304
Commit
ca6ce304
authored
Jan 20, 2020
by
Lysandre
Committed by
Lysandre Debut
Jan 20, 2020
Browse files
Fix style
parent
908cd5ea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
src/transformers/commands/serving.py
src/transformers/commands/serving.py
+0
-1
src/transformers/file_utils.py
src/transformers/file_utils.py
+1
-0
No files found.
src/transformers/commands/serving.py
View file @
ca6ce304
...
...
@@ -3,7 +3,6 @@ from argparse import ArgumentParser, Namespace
from
typing
import
Any
,
List
,
Optional
from
starlette.responses
import
JSONResponse
from
transformers
import
Pipeline
from
transformers.commands
import
BaseTransformersCLICommand
from
transformers.pipelines
import
SUPPORTED_TASKS
,
pipeline
...
...
src/transformers/file_utils.py
View file @
ca6ce304
...
...
@@ -25,6 +25,7 @@ from tqdm.auto import tqdm
from
.
import
__version__
logger
=
logging
.
getLogger
(
__name__
)
# pylint: disable=invalid-name
try
:
...
...
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