mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
bc6f23f82f
commit
b7f0759485
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ def update_reranking_model(
|
||||||
update_model: bool = False,
|
update_model: bool = False,
|
||||||
):
|
):
|
||||||
if reranking_model:
|
if reranking_model:
|
||||||
if reranking_model in ["jinaai/jina-colbert-v2"]:
|
if any(model in reranking_model for model in ["jinaai/jina-colbert-v2"]):
|
||||||
|
|
||||||
class Colbert:
|
class Colbert:
|
||||||
def __init__(self, name) -> None:
|
def __init__(self, name) -> None:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue