Update download-model.py
This commit is contained in:
parent
18ef72d7c0
commit
1e541d4882
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def sanitize_branch_name(branch_name):
|
|||
raise ValueError("Invalid branch name. Only alphanumeric characters, period, underscore and dash are allowed.")
|
||||
|
||||
if __name__ == '__main__':
|
||||
model = args.model
|
||||
model = args.MODEL
|
||||
if model[-1] == '/':
|
||||
model = model[:-1]
|
||||
branch = args.branch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue