ppsingh commited on
Commit
b603692
·
1 Parent(s): 76cab84
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -19,6 +19,7 @@ var=st.text_input("enter keyword")
19
 
20
 
21
  def create_chunks(text):
 
22
  text_splitter = TokenTextSplitter(chunk_size=500, chunk_overlap=0)
23
  texts = text_splitter.split_text(text)
24
  return texts
 
19
 
20
 
21
  def create_chunks(text):
22
+ """TAKES A TEXT AND CERATES CREATES CHUNKS"""
23
  text_splitter = TokenTextSplitter(chunk_size=500, chunk_overlap=0)
24
  texts = text_splitter.split_text(text)
25
  return texts