Spaces:
Runtime error
Runtime error
Commit
·
ae72375
1
Parent(s):
a4af520
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ class myClass:
|
|
93 |
self.index = VectorstoreIndexCreator(
|
94 |
vectorstore_cls=DocArrayInMemorySearch,
|
95 |
embedding=self.embedding,
|
96 |
-
text_splitter
|
97 |
# Set a really small chunk size, just to show.
|
98 |
chunk_size = 1000,
|
99 |
chunk_overlap = 20,
|
|
|
93 |
self.index = VectorstoreIndexCreator(
|
94 |
vectorstore_cls=DocArrayInMemorySearch,
|
95 |
embedding=self.embedding,
|
96 |
+
text_splitter = RecursiveCharacterTextSplitter(
|
97 |
# Set a really small chunk size, just to show.
|
98 |
chunk_size = 1000,
|
99 |
chunk_overlap = 20,
|