"...lm-evaluation-harness.git" did not exist on "fa2ae334dd3541e85269f940f9b253ef12f42c87"
Unverified Commit 0951d317 authored by André Storhaug's avatar André Storhaug Committed by GitHub
Browse files

Fix dependency error message in ServeCommand (#16033)

"uvicorn" is misspelled as "unicorn".
parent 0835119b
......@@ -131,9 +131,9 @@ class ServeCommand(BaseTransformersCLICommand):
if not _serve_dependencies_installed:
raise RuntimeError(
"Using serve command requires FastAPI and unicorn. "
"Using serve command requires FastAPI and uvicorn. "
'Please install transformers with [serving]: pip install "transformers[serving]".'
"Or install FastAPI and unicorn separately."
"Or install FastAPI and uvicorn separately."
)
else:
logger.info(f"Serving model over {host}:{port}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment