fix startup.py: correct command help info

This commit is contained in:
liunux4odoo 2023-08-18 16:46:59 +08:00
parent d4cf77170a
commit fe9f2df17d
1 changed files with 3 additions and 2 deletions

View File

@ -252,6 +252,7 @@ def run_webui(q: Queue, run_seq: int = 5):
def parse_args() -> argparse.ArgumentParser:
parser = argparse.ArgumentParser()
parser.add_argument(
"-a",
"--all-webui",
action="store_true",
help="run fastchat's controller/model_worker/openai_api servers, run api.py and webui.py",
@ -260,13 +261,13 @@ def parse_args() -> argparse.ArgumentParser:
parser.add_argument(
"--all-api",
action="store_true",
help="run fastchat's controller/model_worker/openai_api servers, run api.py and webui.py",
help="run fastchat's controller/model_worker/openai_api servers, run api.py",
dest="all_api",
)
parser.add_argument(
"--llm-api",
action="store_true",
help="run fastchat's controller/model_worker/openai_api servers, run api.py and webui.py",
help="run fastchat's controller/model_worker/openai_api serversy",
dest="llm_api",
)
parser.add_argument(