Update checksum_checker.sh

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
Ettore Di Giacinto 2024-05-23 08:33:58 +02:00 committed by GitHub
parent 79915bcd11
commit 7551369abe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,6 @@ if download_type == 'huggingface':
print(f'Error from Hugging Face Hub: {str(e)}', file=sys.stderr) print(f'Error from Hugging Face Hub: {str(e)}', file=sys.stderr)
sys.exit(2) sys.exit(2)
else: else:
print(f'Downloading file from {repo_id_or_url}')
response = requests.get(repo_id_or_url) response = requests.get(repo_id_or_url)
if response.status_code == 200: if response.status_code == 200:
with open(file_name, 'wb') as f: with open(file_name, 'wb') as f: