pleonova commited on
Commit
9c7749e
1 Parent(s): 053538e
Files changed (1) hide show
  1. models.py +1 -1
models.py CHANGED
@@ -20,7 +20,7 @@ def create_nest_sentences(document:str, token_max_length = 1024):
20
  sent.append(sentence)
21
  else:
22
  nested.append(sent)
23
- sent = [sentences]
24
  length = 0
25
 
26
  if sent:
20
  sent.append(sentence)
21
  else:
22
  nested.append(sent)
23
+ sent = [sentence]
24
  length = 0
25
 
26
  if sent: