mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-23 23:40:03 +08:00
fix startup.py: correct command help info
This commit is contained in:
parent
d4cf77170a
commit
fe9f2df17d
@ -252,6 +252,7 @@ def run_webui(q: Queue, run_seq: int = 5):
|
|||||||
def parse_args() -> argparse.ArgumentParser:
|
def parse_args() -> argparse.ArgumentParser:
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
"-a",
|
||||||
"--all-webui",
|
"--all-webui",
|
||||||
action="store_true",
|
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 and webui.py",
|
||||||
@ -260,13 +261,13 @@ def parse_args() -> argparse.ArgumentParser:
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--all-api",
|
"--all-api",
|
||||||
action="store_true",
|
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",
|
dest="all_api",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--llm-api",
|
"--llm-api",
|
||||||
action="store_true",
|
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",
|
dest="llm_api",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user