Spaces:
Runtime error
Runtime error
minh
commited on
Commit
·
c5775b4
1
Parent(s):
9cb303c
debugging
Browse files
app.py
CHANGED
|
@@ -67,6 +67,8 @@ def convert_PDF(pdf_obj, chatbot_engine):
|
|
| 67 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=20)
|
| 68 |
texts = text_splitter.split_documents(data)
|
| 69 |
|
|
|
|
|
|
|
| 70 |
# Create a Chroma vector store (temp)
|
| 71 |
vectorstore = Chroma.from_documents(texts, embeddings)
|
| 72 |
|
|
|
|
| 67 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=20)
|
| 68 |
texts = text_splitter.split_documents(data)
|
| 69 |
|
| 70 |
+
print(texts[2])
|
| 71 |
+
|
| 72 |
# Create a Chroma vector store (temp)
|
| 73 |
vectorstore = Chroma.from_documents(texts, embeddings)
|
| 74 |
|