CosmoAI commited on
Commit
77b2388
1 Parent(s): 34a44c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,8 +27,8 @@ def get_pdf_text(pdf_docs):
27
  def get_text_chunks(text):
28
  text_splitter = CharacterTextSplitter(
29
  separator="\n",
30
- chunk_size=1000,
31
- chunk_overlap=200,
32
  length_function=len
33
  )
34
  chunks = text_splitter.split_text(text)
 
27
  def get_text_chunks(text):
28
  text_splitter = CharacterTextSplitter(
29
  separator="\n",
30
+ chunk_size=200,
31
+ chunk_overlap=20,
32
  length_function=len
33
  )
34
  chunks = text_splitter.split_text(text)