Spaces:
Sleeping
Sleeping
VishnuRamDebyez
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -28,8 +28,7 @@ splits = text_splitter.split_documents(doc)
|
|
28 |
|
29 |
# Create a vector store and retriever
|
30 |
|
31 |
-
|
32 |
-
from langchain_chroma import chromadb
|
33 |
|
34 |
# Use Chroma in-memory mode for temporary storage
|
35 |
vectorstore = Chroma.from_documents(documents=splits, embedding=gemini_embeddings, persist_directory=None)
|
|
|
28 |
|
29 |
# Create a vector store and retriever
|
30 |
|
31 |
+
|
|
|
32 |
|
33 |
# Use Chroma in-memory mode for temporary storage
|
34 |
vectorstore = Chroma.from_documents(documents=splits, embedding=gemini_embeddings, persist_directory=None)
|