tony346 commited on
Commit
b03b2d5
1 Parent(s): 74dcd80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ def get_pdf_text(pdf_docs):
26
  def get_text_chunks(text):
27
  print('text = ',text)
28
  text_splitter = RecursiveCharacterTextSplitter(
29
- chunk_size = 1000,
30
- chunk_overlap = 200,
31
  length_function= len
32
  )
33
  # text_splitter = CharacterTextSplitter(
 
26
  def get_text_chunks(text):
27
  print('text = ',text)
28
  text_splitter = RecursiveCharacterTextSplitter(
29
+ chunk_size = 256,
30
+ chunk_overlap = 50,
31
  length_function= len
32
  )
33
  # text_splitter = CharacterTextSplitter(