Auto-format (fixes previous commit).
This commit is contained in:
@@ -109,7 +109,7 @@ class ServeCommand(BaseTransformersCLICommand):
|
|||||||
if not _serve_dependancies_installed:
|
if not _serve_dependancies_installed:
|
||||||
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 separately."
|
"Or install FastAPI and unicorn separately."
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user