Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def get_pdf_text(pdf_docs):
|
|
| 22 |
def get_text_chunks(text):
|
| 23 |
text_splitter = CharacterTextSplitter(
|
| 24 |
separator="\n",
|
| 25 |
-
chunk_size=
|
| 26 |
chunk_overlap=200,
|
| 27 |
length_function=len
|
| 28 |
)
|
|
|
|
| 22 |
def get_text_chunks(text):
|
| 23 |
text_splitter = CharacterTextSplitter(
|
| 24 |
separator="\n",
|
| 25 |
+
chunk_size=1000,
|
| 26 |
chunk_overlap=200,
|
| 27 |
length_function=len
|
| 28 |
)
|