From bb1dac2f7622929f9f13ad82beaedfd434ab2426 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 20 Feb 2023 15:50:48 -0300 Subject: [PATCH] Convert the download option (A-Z) to upper case --- download-model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download-model.py b/download-model.py index 5750df54..a5ee0223 100644 --- a/download-model.py +++ b/download-model.py @@ -71,7 +71,7 @@ def select_model_from_default_options(): print() print("Input> ", end='') - choice = input()[0] + choice = input()[0].strip().upper() if choice == char: print("""\nThen type the name of your desired Hugging Face model in the format organization/name.