Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
TEST
Browse files
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
|