Spaces:
Runtime error
Runtime error
Commit
·
69d435d
1
Parent(s):
0817eb4
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def main_process(uploaded_file):
|
|
46 |
# We use multi-qa-mpnet-base-dot-v1 model to embed the text chunks
|
47 |
# We need to save the embeddings to disk so we use persist_directory to save the embeddings to disk
|
48 |
embeddings = SentenceTransformerEmbeddings(model_name="multi-qa-mpnet-base-dot-v1")
|
49 |
-
persist_directory = "
|
50 |
|
51 |
# Chroma is used to store the embeddings
|
52 |
# We use from_documents to store the embeddings
|
|
|
46 |
# We use multi-qa-mpnet-base-dot-v1 model to embed the text chunks
|
47 |
# We need to save the embeddings to disk so we use persist_directory to save the embeddings to disk
|
48 |
embeddings = SentenceTransformerEmbeddings(model_name="multi-qa-mpnet-base-dot-v1")
|
49 |
+
persist_directory = "chroma/"
|
50 |
|
51 |
# Chroma is used to store the embeddings
|
52 |
# We use from_documents to store the embeddings
|