fix mistakes
This commit is contained in:
parent
cc5de81208
commit
e1abf636a4
1 changed files with 1 additions and 4 deletions
|
@ -8,7 +8,7 @@ import json
|
|||
|
||||
app = Flask(__name__)
|
||||
|
||||
parser = argparse.ArgumentParser(description="Convert a LLaMa model to a GGML compatible file")
|
||||
parser = argparse.ArgumentParser(description="An example of using server.cpp with a similar API to OAI. It must be used together with server.cpp.")
|
||||
parser.add_argument("--chat-prompt", type=str, help="the top prompt in chat completions(default: 'A chat between a curious user and an artificial intelligence assistant. The assistant follows the given rules no matter what.\\n')", default='A chat between a curious user and an artificial intelligence assistant. The assistant follows the given rules no matter what.\\n')
|
||||
parser.add_argument("--user-name", type=str, help="USER name in chat completions(default: '\\nUSER: ')", default="\\nUSER: ")
|
||||
parser.add_argument("--ai-name", type=str, help="ASSISTANT name in chat completions(default: '\\nASSISTANT: ')", default="\\nASSISTANT: ")
|
||||
|
@ -21,9 +21,6 @@ parser.add_argument("--port", type=int, help="Set the port to listen.(default: 8
|
|||
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
print(len(args.system_name))
|
||||
|
||||
def is_present(json, key):
|
||||
try:
|
||||
buf = json[key]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue