ali121300 commited on
Commit
7e893e3
1 Parent(s): 9f78fda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def load_file():
31
  ######################################
32
  def get_text_chunks(text:str) ->list:
33
  text_splitter = CharacterTextSplitter(
34
- separator="\n", chunk_size=1500, chunk_overlap=300, length_function=len
35
  )
36
  chunks = text_splitter.split_text(text)
37
  return chunks
 
31
  ######################################
32
  def get_text_chunks(text:str) ->list:
33
  text_splitter = CharacterTextSplitter(
34
+ separator="\n", chunk_size=400, chunk_overlap=40, length_function=len
35
  )
36
  chunks = text_splitter.split_text(text)
37
  return chunks