binqiangliu commited on
Commit
085292d
·
1 Parent(s): d012b33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -150,8 +150,9 @@ st.markdown(
150
  """, unsafe_allow_html=True
151
  )
152
 
153
- text_splitter = CharacterTextSplitter(
154
- separator = "\n",
 
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,