Spaces:
Sleeping
Sleeping
Commit
·
75dc350
1
Parent(s):
6cc8723
Minor fix
Browse files
app.py
CHANGED
@@ -82,9 +82,9 @@ def invoke_chain(db, query):
|
|
82 |
return answer
|
83 |
|
84 |
def store_embeddings(pdf_path, chunk_size, chunk_overlap):
|
85 |
-
raw_documents = extract_text_from_pdf(pdf_path
|
86 |
|
87 |
-
documents = chunk_text(raw_documents)
|
88 |
|
89 |
delete_pinecone()
|
90 |
|
|
|
82 |
return answer
|
83 |
|
84 |
def store_embeddings(pdf_path, chunk_size, chunk_overlap):
|
85 |
+
raw_documents = extract_text_from_pdf(pdf_path)
|
86 |
|
87 |
+
documents = chunk_text(raw_documents, chunk_size, chunk_overlap)
|
88 |
|
89 |
delete_pinecone()
|
90 |
|