Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def method_get_website_text(urls):
|
|
23 |
def method_get_text_chunks(text):
|
24 |
#split the text into chunks
|
25 |
text_splitter = CharacterTextSplitter.from_tiktoken_encoder(chunk_size=7500, chunk_overlap=100)
|
26 |
-
doc_splits = text_splitter.split_documents(
|
27 |
return doc_splits
|
28 |
|
29 |
|
|
|
23 |
def method_get_text_chunks(text):
|
24 |
#split the text into chunks
|
25 |
text_splitter = CharacterTextSplitter.from_tiktoken_encoder(chunk_size=7500, chunk_overlap=100)
|
26 |
+
doc_splits = text_splitter.split_documents(text)
|
27 |
return doc_splits
|
28 |
|
29 |
|