m-ric HF staff commited on
Commit
a917825
β€’
1 Parent(s): d3a0161

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def chunk(text, length, splitter_selection, separators_str, length_unit_selectio
46
  separator=" ",
47
  )
48
  elif splitter_selection == LABEL_RECURSIVE:
49
- print('Splitting with separators:', ',,'.join(separators))
50
  text_splitter = RecursiveCharacterTextSplitter(
51
  chunk_size=length,
52
  chunk_overlap=int(chunk_overlap),
 
46
  separator=" ",
47
  )
48
  elif splitter_selection == LABEL_RECURSIVE:
49
+ print('Splitting with separators:', ',,'.join(separators), f'and chunk length {length} and chunk overlap {chunk_overlap}')
50
  text_splitter = RecursiveCharacterTextSplitter(
51
  chunk_size=length,
52
  chunk_overlap=int(chunk_overlap),