m-ric HF staff commited on
Commit
5193146
1 Parent(s): d2adb70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -32,6 +32,9 @@ def change_split_selection(text, slider_count, split_selection, separator_select
32
  )
33
 
34
  def chunk(text, length, splitter_selection, separators_str, length_unit_selection, chunk_overlap):
 
 
 
35
  separators = extract_separators_from_string(separators_str)
36
  length_function = (length_tokens if "token" in length_unit_selection.lower() else len)
37
  if splitter_selection == LABEL_TEXTSPLITTER:
 
32
  )
33
 
34
  def chunk(text, length, splitter_selection, separators_str, length_unit_selection, chunk_overlap):
35
+ print(f"Received chunk overlap: {chunk_overlap}")
36
+ print(f"Received chunk overlap: {chunk_overlap}")
37
+ print(f"Received chunk overlap: {chunk_overlap}")
38
  separators = extract_separators_from_string(separators_str)
39
  length_function = (length_tokens if "token" in length_unit_selection.lower() else len)
40
  if splitter_selection == LABEL_TEXTSPLITTER: