mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Update CLIP model load path
This commit is contained in:
parent
31e21a6e4e
commit
f59e321419
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ from src.utils.config import ImageSearchModel, ImageSearchConfig
|
|||
def initialize_model():
|
||||
# Initialize Model
|
||||
torch.set_num_threads(4)
|
||||
encoder = SentenceTransformer('clip-ViT-B-32') #Load the CLIP model
|
||||
encoder = SentenceTransformer('sentence-transformers/clip-ViT-B-32') #Load the CLIP model
|
||||
return encoder
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue