Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -142,7 +142,7 @@ def sort_doc(text,steps_in=0,control=None):
|
|
142 |
|
143 |
aa=3
|
144 |
bb=3
|
145 |
-
aa=i if i < 3
|
146 |
|
147 |
sen_obj_out['sentence']=sen_list[i-aa:i+bb]
|
148 |
|
|
|
142 |
|
143 |
aa=3
|
144 |
bb=3
|
145 |
+
aa=i if i < 3 else 3
|
146 |
|
147 |
sen_obj_out['sentence']=sen_list[i-aa:i+bb]
|
148 |
|