diff --git a/download-model.py b/download-model.py index 0519b18c..a83ed17a 100644 --- a/download-model.py +++ b/download-model.py @@ -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