m-ric HF staff commited on
Commit
d5c5e4b
·
verified ·
1 Parent(s): af9e1dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ preprocessor = PreProcessor(
14
 
15
 
16
  def chunk(text, length, splitter_selection):
17
- elif splitter_selection == "LangChain's CharacterTextSplitter":
18
  text_splitter = CharacterTextSplitter(
19
  separator="",
20
  chunk_size=words,
 
14
 
15
 
16
  def chunk(text, length, splitter_selection):
17
+ if splitter_selection == "LangChain's CharacterTextSplitter":
18
  text_splitter = CharacterTextSplitter(
19
  separator="",
20
  chunk_size=words,