Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def get_pdf_text(pdf_docs):
|
|
| 30 |
|
| 31 |
|
| 32 |
def get_text_chunks(text):
|
| 33 |
-
text_splitter = RecursiveCharacterTextSplitter(chunk_size=
|
| 34 |
chunks = text_splitter.split_text(text)
|
| 35 |
return chunks
|
| 36 |
|
|
|
|
| 30 |
|
| 31 |
|
| 32 |
def get_text_chunks(text):
|
| 33 |
+
text_splitter = RecursiveCharacterTextSplitter(chunk_size=10000, chunk_overlap=1000)
|
| 34 |
chunks = text_splitter.split_text(text)
|
| 35 |
return chunks
|
| 36 |
|