reichaves commited on
Commit
94228b5
1 Parent(s): 365c9e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=500, chunk_overlap=50)
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