Omnibus commited on
Commit
094936a
·
verified ·
1 Parent(s): cbff511

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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