mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
change pulled remote file name to lower case
This commit is contained in:
@@ -41,7 +41,7 @@ def download_from_repo(url, file_name):
|
||||
|
||||
location = location.strip('/')
|
||||
if file_name == '':
|
||||
file_name = path.basename(location)
|
||||
file_name = path.basename(location).lower()
|
||||
|
||||
download_url = urlunsplit(
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user