Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -54,6 +54,7 @@ def chunk(text, length, splitter_selection, separators_str, length_unit_selectio
|
|
54 |
strip_whitespace=False,
|
55 |
separators=separators,
|
56 |
)
|
|
|
57 |
splits = text_splitter.create_documents([text])
|
58 |
text_splits = [split.page_content for split in splits]
|
59 |
print('I did splits:')
|
|
|
54 |
strip_whitespace=False,
|
55 |
separators=separators,
|
56 |
)
|
57 |
+
print(text_splitter._separators)
|
58 |
splits = text_splitter.create_documents([text])
|
59 |
text_splits = [split.page_content for split in splits]
|
60 |
print('I did splits:')
|