Gregniuki commited on
Commit
0c39302
·
verified ·
1 Parent(s): 8ed6c3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -156,8 +156,8 @@ def chunk_text(text, max_chars):
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 = ""
 
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 = ""