mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-28 01:33:17 +08:00
fix add_argument fault in startup.py
This commit is contained in:
parent
fd5988422e
commit
2e1396a2d5
@ -284,7 +284,7 @@ def parse_args() -> argparse.ArgumentParser:
|
||||
dest="model_worker",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-n"
|
||||
"-n",
|
||||
"--model-name",
|
||||
type=str,
|
||||
default=LLM_MODEL,
|
||||
@ -292,7 +292,7 @@ def parse_args() -> argparse.ArgumentParser:
|
||||
dest="model_name",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-c"
|
||||
"-c",
|
||||
"--controller",
|
||||
type=str,
|
||||
help="specify controller address the worker is registered to. default is server_config.FSCHAT_CONTROLLER",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user