Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -156,8 +156,8 @@ def chunk_text(text, max_chars):
|
|
156 |
"""
|
157 |
if max_chars > 105:
|
158 |
max_chars = 105
|
159 |
-
|
160 |
-
|
161 |
split_after_space_chars = max_chars + 30
|
162 |
chunks = []
|
163 |
current_chunk = ""
|
|
|
156 |
"""
|
157 |
if max_chars > 105:
|
158 |
max_chars = 105
|
159 |
+
# if max_chars < 50:
|
160 |
+
# max_chars = max_chars * 2
|
161 |
split_after_space_chars = max_chars + 30
|
162 |
chunks = []
|
163 |
current_chunk = ""
|