Spaces:
Sleeping
Sleeping
Deepak Sahu
commited on
Commit
·
32b22f3
1
Parent(s):
7f1eaf1
Update z_embedding.py
Browse files- z_embedding.py +1 -1
z_embedding.py
CHANGED
@@ -17,7 +17,7 @@ def get_embedding_model():
|
|
17 |
|
18 |
embedding_model = HuggingFaceEmbeddings(
|
19 |
model_name=EMBEDDING_MODEL_NAME,
|
20 |
-
multi_process=
|
21 |
model_kwargs={"device": "cpu"},
|
22 |
encode_kwargs={"normalize_embeddings": True}, # Set `True` for cosine similarity
|
23 |
)
|
|
|
17 |
|
18 |
embedding_model = HuggingFaceEmbeddings(
|
19 |
model_name=EMBEDDING_MODEL_NAME,
|
20 |
+
multi_process=False,
|
21 |
model_kwargs={"device": "cpu"},
|
22 |
encode_kwargs={"normalize_embeddings": True}, # Set `True` for cosine similarity
|
23 |
)
|