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
chenpangpang
open-webui
Commits
26a187f5
"vscode:/vscode.git/clone" did not exist on "81e928030f1524444f3c32b23916a76ed58a59d7"
Commit
26a187f5
authored
Mar 12, 2024
by
Timothy J. Baek
Browse files
refac: print removed
parent
be3ab88c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
backend/apps/ollama/main.py
backend/apps/ollama/main.py
+0
-2
No files found.
backend/apps/ollama/main.py
View file @
26a187f5
...
...
@@ -182,8 +182,6 @@ async def get_ollama_versions(url_idx: Optional[int] = None):
responses
=
await
asyncio
.
gather
(
*
tasks
)
responses
=
list
(
filter
(
lambda
x
:
x
is
not
None
,
responses
))
print
(
responses
)
if
len
(
responses
)
>
0
:
lowest_version
=
min
(
responses
,
key
=
lambda
x
:
tuple
(
map
(
int
,
x
[
"version"
].
split
(
"."
)))
...
...
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