Fix typo
Browse files
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 = [
|
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:
|