You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cnlpt/_cli/rest.py
+35-2Lines changed: 35 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,13 @@ def rest(
35
35
typer.Option(
36
36
"--model",
37
37
callback=parse_models,
38
-
help="Model definition as [ROUTER_PREFIX=]PATH_TO_MODEL. Route prefix must start with '/'. This option can be specified multiple times to serve multiple models simultaneously. Route prefixes are required when serving more than one model.",
38
+
help=(
39
+
"Model to serve, specified as PATH_TO_MODEL or ROUTE_PREFIX=PATH_TO_MODEL. "
40
+
"PATH_TO_MODEL can be a local directory or a HuggingFace model repository (e.g. 'mlml-chip/negation_pubmedbert_sharpseed'). "
41
+
"ROUTE_PREFIX must start with '/' and is required when serving more than one model. "
42
+
"This option can be repeated to serve multiple models simultaneously "
0 commit comments