Update app.py
Browse files
app.py
CHANGED
@@ -190,7 +190,7 @@ if groq_api_key and huggingface_api_token:
|
|
190 |
documents.extend(docs)
|
191 |
os.unlink(temp_file_path) # Remove temporary file
|
192 |
|
193 |
-
text_splitter = RecursiveCharacterTextSplitter(chunk_size=
|
194 |
splits = text_splitter.split_documents(documents)
|
195 |
|
196 |
# Create FAISS vector store
|
|
|
190 |
documents.extend(docs)
|
191 |
os.unlink(temp_file_path) # Remove temporary file
|
192 |
|
193 |
+
text_splitter = RecursiveCharacterTextSplitter(chunk_size=10000, chunk_overlap=1000)
|
194 |
splits = text_splitter.split_documents(documents)
|
195 |
|
196 |
# Create FAISS vector store
|