Spaces:
Runtime error
Runtime error
Paul-Joshi
commited on
Commit
•
d2f95a7
1
Parent(s):
07ecaec
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def method_get_vectorstore(document_chunks):
|
|
35 |
#embeddings = NomicEmbeddings(model="nomic-embed-text-v1.5")
|
36 |
#embeddings = HuggingFaceEmbeddings()
|
37 |
|
38 |
-
model = SentenceTransformer("nomic-ai/nomic-embed-text-v1.5")
|
39 |
embeddings = model.encode()
|
40 |
|
41 |
# create a vectorstore from the chunks
|
|
|
35 |
#embeddings = NomicEmbeddings(model="nomic-embed-text-v1.5")
|
36 |
#embeddings = HuggingFaceEmbeddings()
|
37 |
|
38 |
+
model = SentenceTransformer("nomic-ai/nomic-embed-text-v1.5",trust_remote_code=True)
|
39 |
embeddings = model.encode()
|
40 |
|
41 |
# create a vectorstore from the chunks
|