reformat startup.py

This commit is contained in:
imClumsyPanda 2023-11-06 22:31:09 +08:00
parent ce9160fbfa
commit f4f7845f93
1 changed files with 4 additions and 2 deletions

View File

@ -495,7 +495,8 @@ def parse_args() -> argparse.ArgumentParser:
"-m", "-m",
"--model-worker", "--model-worker",
action="store_true", action="store_true",
help="run fastchat's model_worker server with specified model name. specify --model-name if not using default LLM_MODEL", help="run fastchat's model_worker server with specified model name. "
"specify --model-name if not using default LLM_MODEL",
dest="model_worker", dest="model_worker",
) )
parser.add_argument( parser.add_argument(
@ -504,7 +505,8 @@ def parse_args() -> argparse.ArgumentParser:
type=str, type=str,
nargs="+", nargs="+",
default=[LLM_MODEL], default=[LLM_MODEL],
help="specify model name for model worker. add addition names with space seperated to start multiple model workers.", help="specify model name for model worker. "
"add addition names with space seperated to start multiple model workers.",
dest="model_name", dest="model_name",
) )
parser.add_argument( parser.add_argument(