Spaces:
Sleeping
Sleeping
Neurolingua
commited on
Commit
•
0e6ad12
1
Parent(s):
48585d6
Update get_embedding_function.py
Browse files
get_embedding_function.py
CHANGED
@@ -4,3 +4,4 @@ def get_embedding_function():
|
|
4 |
model_name = "sentence-transformers/all-mpnet-base-v2" # You can change this to any other Hugging Face model
|
5 |
embeddings = HuggingFaceEmbeddings(model_name=model_name)
|
6 |
return embeddings
|
|
|
|
4 |
model_name = "sentence-transformers/all-mpnet-base-v2" # You can change this to any other Hugging Face model
|
5 |
embeddings = HuggingFaceEmbeddings(model_name=model_name)
|
6 |
return embeddings
|
7 |
+
|