Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ def main():
|
|
93 |
text.extend(loader.load())
|
94 |
os.remove(temp_file_path)
|
95 |
|
96 |
-
text_splitter = RecursiveCharacterTextSplitter(chunk_size=
|
97 |
text_chunks = text_splitter.split_documents(text)
|
98 |
|
99 |
# Create embeddings
|
|
|
93 |
text.extend(loader.load())
|
94 |
os.remove(temp_file_path)
|
95 |
|
96 |
+
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=200)
|
97 |
text_chunks = text_splitter.split_documents(text)
|
98 |
|
99 |
# Create embeddings
|