Typo in serving.py
This commit is contained in:
@@ -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 separately."
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
logger.info("Serving model over {}:{}".format(host, port))
|
logger.info("Serving model over {}:{}".format(host, port))
|
||||||
|
|||||||
Reference in New Issue
Block a user