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