PirateXX commited on
Commit
44091f5
1 Parent(s): 7b74aa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def chunks_of_900(text, chunk_size=900):
22
  chunks = []
23
  current_chunk = ""
24
  for sentence in sentences:
25
- if len(current_chunk + sentence) <= chunk_size:
26
  if len(current_chunk)!=0:
27
  current_chunk += " "+sentence
28
  else:
 
22
  chunks = []
23
  current_chunk = ""
24
  for sentence in sentences:
25
+ if len(current_chunk + sentence) <= chunk_size:
26
  if len(current_chunk)!=0:
27
  current_chunk += " "+sentence
28
  else: