mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-19 21:59:07 +08:00
refac
This commit is contained in:
parent
f8fffdd288
commit
687cae9b79
@ -206,7 +206,7 @@ def update_reranking_model(
|
||||
self.device = "cuda" if torch.cuda.is_available() else "cpu"
|
||||
self.ckpt = Checkpoint(
|
||||
get_model_path(name, auto_update),
|
||||
colbert_config=ColBERTConfig(),
|
||||
colbert_config=ColBERTConfig(model_name=name),
|
||||
).to(self.device)
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user