Hackoor commited on
Commit
b32edee
·
1 Parent(s): 07358c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ def main():
105
  text.extend(loader.load())
106
  os.remove(temp_file_path)
107
 
108
- text_splitter = CharacterTextSplitter(separator="\n", chunk_size=1500, chunk_overlap=300, length_function=len)
109
  text_chunks = text_splitter.split_documents(text)
110
 
111
  # Create embeddings
 
105
  text.extend(loader.load())
106
  os.remove(temp_file_path)
107
 
108
+ text_splitter = CharacterTextSplitter(separator="\n", chunk_size=1000, chunk_overlap=100, length_function=len)
109
  text_chunks = text_splitter.split_documents(text)
110
 
111
  # Create embeddings