alanwnl commited on
Commit
cf7577a
·
1 Parent(s): f88caf5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def pdf_to_text(path, start_page=1, end_page=None):
37
  return text_list
38
 
39
 
40
- def text_to_chunks(texts, word_length=500, start_page=1):
41
  text_toks = [t.split(' ') for t in texts]
42
  page_nums = []
43
  chunks = []
 
37
  return text_list
38
 
39
 
40
+ def text_to_chunks(texts, word_length=200, start_page=1):
41
  text_toks = [t.split(' ') for t in texts]
42
  page_nums = []
43
  chunks = []