From 1e541d4882cdda3c594c324a8c3a4415aecb909b Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sat, 21 Jan 2023 00:43:00 -0300 Subject: [PATCH] Update download-model.py --- download-model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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