Revert nested_sentence change
Browse files
models.py
CHANGED
@@ -23,7 +23,7 @@ def create_nest_sentences(document:str, token_max_length = 1024):
|
|
23 |
sent.append(sentence)
|
24 |
else:
|
25 |
nested.append(sent)
|
26 |
-
sent = [
|
27 |
length = 0
|
28 |
|
29 |
if sent:
|
|
|
23 |
sent.append(sentence)
|
24 |
else:
|
25 |
nested.append(sent)
|
26 |
+
sent = []
|
27 |
length = 0
|
28 |
|
29 |
if sent:
|