Spaces:
Running
Running
Chandranshu Jain
commited on
Commit
•
0878545
1
Parent(s):
f3203dc
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def get_pdf(uploaded_file):
|
|
49 |
def text_splitter(text):
|
50 |
text_splitter = RecursiveCharacterTextSplitter(
|
51 |
# Set a really small chunk size, just to show.
|
52 |
-
chunk_size=100000
|
53 |
chunk_overlap=50000,
|
54 |
separators=["\n\n","\n"," ",".",","])
|
55 |
chunks=text_splitter.split_documents(text)
|
|
|
49 |
def text_splitter(text):
|
50 |
text_splitter = RecursiveCharacterTextSplitter(
|
51 |
# Set a really small chunk size, just to show.
|
52 |
+
chunk_size=100000,
|
53 |
chunk_overlap=50000,
|
54 |
separators=["\n\n","\n"," ",".",","])
|
55 |
chunks=text_splitter.split_documents(text)
|