Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
e0ccc0c1
Commit
e0ccc0c1
authored
Jun 30, 2023
by
Bruce MacDonald
Browse files
change pulled remote file name to lower case
parent
a11cddbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ollama/model.py
ollama/model.py
+1
-1
No files found.
ollama/model.py
View file @
e0ccc0c1
...
@@ -41,7 +41,7 @@ def download_from_repo(url, file_name):
...
@@ -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
(
(
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment