Spaces:
Sleeping
Sleeping
Commit
·
085292d
1
Parent(s):
d012b33
Update app.py
Browse files
app.py
CHANGED
@@ -150,8 +150,9 @@ st.markdown(
|
|
150 |
""", unsafe_allow_html=True
|
151 |
)
|
152 |
|
153 |
-
text_splitter = CharacterTextSplitter(
|
154 |
-
|
|
|
155 |
chunk_size = 1000,
|
156 |
chunk_overlap = 200,
|
157 |
length_function = len,
|
|
|
150 |
""", unsafe_allow_html=True
|
151 |
)
|
152 |
|
153 |
+
#text_splitter = CharacterTextSplitter(
|
154 |
+
text_splitter = RecursiveCharacterTextSplitter(
|
155 |
+
#separator = "\n",
|
156 |
chunk_size = 1000,
|
157 |
chunk_overlap = 200,
|
158 |
length_function = len,
|