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
7211541a
Unverified
Commit
7211541a
authored
Dec 26, 2019
by
Kashif Rasul
Committed by
GitHub
Dec 26, 2019
Browse files
Typo in serving.py
parent
aeef4823
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/commands/serving.py
src/transformers/commands/serving.py
+1
-1
No files found.
src/transformers/commands/serving.py
View file @
7211541a
...
@@ -110,7 +110,7 @@ class ServeCommand(BaseTransformersCLICommand):
...
@@ -110,7 +110,7 @@ class ServeCommand(BaseTransformersCLICommand):
raise
RuntimeError
(
raise
RuntimeError
(
"Using serve command requires FastAPI and unicorn. "
"Using serve command requires FastAPI and unicorn. "
"Please install transformers with [serving]: pip install transformers[serving]."
"Please install transformers with [serving]: pip install transformers[serving]."
"Or install FastAPI and unicorn separatly."
"Or install FastAPI and unicorn separat
e
ly."
)
)
else
:
else
:
logger
.
info
(
"Serving model over {}:{}"
.
format
(
host
,
port
))
logger
.
info
(
"Serving model over {}:{}"
.
format
(
host
,
port
))
...
...
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