mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-07 03:35:21 +00:00
change pulled remote file name to lower case
This commit is contained in:
parent
a11cddbf99
commit
e0ccc0c1b7
@ -41,7 +41,7 @@ def download_from_repo(url, file_name):
|
|||||||
|
|
||||||
location = location.strip('/')
|
location = location.strip('/')
|
||||||
if file_name == '':
|
if file_name == '':
|
||||||
file_name = path.basename(location)
|
file_name = path.basename(location).lower()
|
||||||
|
|
||||||
download_url = urlunsplit(
|
download_url = urlunsplit(
|
||||||
(
|
(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user