added a second pyinstaller for my own use that uses a different python version. don't use this.

This commit is contained in:
Concedo 2023-05-24 23:34:11 +08:00
parent bf482d1786
commit 37a34deaa0
2 changed files with 5 additions and 0 deletions

View file

@ -620,6 +620,7 @@ def main(args):
if __name__ == '__main__':
print("Welcome to KoboldCpp - Version " + KcppVersion) # just update version manually
# print("Python version: " + sys.version)
parser = argparse.ArgumentParser(description='Kobold llama.cpp server')
modelgroup = parser.add_mutually_exclusive_group() #we want to be backwards compatible with the unnamed positional args
modelgroup.add_argument("--model", help="Model file to load", nargs="?")