Spaces:
Running
Running
Update app.py
Browse files
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),
|