Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ repo_id = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|
|
17 |
emb = "sentence-transformers/all-mpnet-base-v2"
|
18 |
hf = HuggingFaceEmbeddings(model_name=emb)
|
19 |
db = Chroma(persist_directory="./chroma_langchain_db")
|
20 |
-
db.persist()
|
21 |
# Load the document, split it into chunks, embed each chunk and load it into the vector store.
|
22 |
#raw_documents = TextLoader('state_of_the_union.txt').load()
|
23 |
def embed_fn(inp):
|
|
|
17 |
emb = "sentence-transformers/all-mpnet-base-v2"
|
18 |
hf = HuggingFaceEmbeddings(model_name=emb)
|
19 |
db = Chroma(persist_directory="./chroma_langchain_db")
|
20 |
+
#db.persist()
|
21 |
# Load the document, split it into chunks, embed each chunk and load it into the vector store.
|
22 |
#raw_documents = TextLoader('state_of_the_union.txt').load()
|
23 |
def embed_fn(inp):
|