mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 00:32:05 +00:00
refac: print removed
This commit is contained in:
parent
be3ab88c88
commit
26a187f5ac
@ -182,8 +182,6 @@ async def get_ollama_versions(url_idx: Optional[int] = None):
|
|||||||
responses = await asyncio.gather(*tasks)
|
responses = await asyncio.gather(*tasks)
|
||||||
responses = list(filter(lambda x: x is not None, responses))
|
responses = list(filter(lambda x: x is not None, responses))
|
||||||
|
|
||||||
print(responses)
|
|
||||||
|
|
||||||
if len(responses) > 0:
|
if len(responses) > 0:
|
||||||
lowest_version = min(
|
lowest_version = min(
|
||||||
responses, key=lambda x: tuple(map(int, x["version"].split(".")))
|
responses, key=lambda x: tuple(map(int, x["version"].split(".")))
|
||||||
|
Loading…
Reference in New Issue
Block a user