mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +00:00
Update checksum_checker.sh
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
parent
79915bcd11
commit
7551369abe
1
.github/checksum_checker.sh
vendored
1
.github/checksum_checker.sh
vendored
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user