Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -154,7 +154,7 @@ def chunk_text(text, max_chars=100):
|
|
154 |
Returns:
|
155 |
List[str]: A list of text chunks.
|
156 |
"""
|
157 |
-
if max_chars > 105
|
158 |
max_chars = 105
|
159 |
split_after_space_chars = max_chars + 30
|
160 |
chunks = []
|
|
|
154 |
Returns:
|
155 |
List[str]: A list of text chunks.
|
156 |
"""
|
157 |
+
if max_chars > 105:
|
158 |
max_chars = 105
|
159 |
split_after_space_chars = max_chars + 30
|
160 |
chunks = []
|