fix run arg parser
This commit is contained in:
parent
53c462e40d
commit
ea2a453a81
1 changed files with 4 additions and 4 deletions
|
@ -33,10 +33,10 @@ def main():
|
|||
pull_parser.add_argument("model")
|
||||
pull_parser.set_defaults(fn=pull)
|
||||
|
||||
pull_parser = subparsers.add_parser("run")
|
||||
pull_parser.add_argument("model")
|
||||
pull_parser.add_argument("prompt", nargs="?")
|
||||
pull_parser.set_defaults(fn=run)
|
||||
run_parser = subparsers.add_parser("run")
|
||||
run_parser.add_argument("model")
|
||||
run_parser.add_argument("prompt", nargs="?")
|
||||
run_parser.set_defaults(fn=run)
|
||||
|
||||
args = parser.parse_args()
|
||||
args = vars(args)
|
||||
|
|
Loading…
Reference in a new issue