mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 11:27:46 +01:00
refac
This commit is contained in:
@@ -199,7 +199,7 @@ def update_reranking_model(
|
||||
update_model: bool = False,
|
||||
):
|
||||
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:
|
||||
def __init__(self, name) -> None:
|
||||
|
||||
Reference in New Issue
Block a user