tony346 commited on
Commit
585821e
·
1 Parent(s): 0a4b074

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -24,6 +24,7 @@ def get_pdf_text(pdf_docs):
24
 
25
 
26
  def get_text_chunks(text):
 
27
  text_splitter = RecursiveCharacterTextSplitter(
28
  chunk_size = 300,
29
  chunk_overlap = 20,
@@ -36,6 +37,7 @@ def get_text_chunks(text):
36
  # length_function=len
37
  # )
38
  chunks = text_splitter.split_text(text)
 
39
  return chunks
40
 
41
 
 
24
 
25
 
26
  def get_text_chunks(text):
27
+ print('text = ',text)
28
  text_splitter = RecursiveCharacterTextSplitter(
29
  chunk_size = 300,
30
  chunk_overlap = 20,
 
37
  # length_function=len
38
  # )
39
  chunks = text_splitter.split_text(text)
40
+ print('chunks = ', chunks)
41
  return chunks
42
 
43