Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -138,8 +138,13 @@ def sort_doc(text,steps_in=0,control=None):
|
|
138 |
print(j)
|
139 |
out_js = out_js+control_char[j]
|
140 |
|
141 |
-
sen_obj_out=sen_obj_box[i]
|
142 |
-
|
|
|
|
|
|
|
|
|
|
|
143 |
|
144 |
#sen_obj_out=sen_obj[i-3:i+3]
|
145 |
#sen_obj=sen_obj_box[i]
|
|
|
138 |
print(j)
|
139 |
out_js = out_js+control_char[j]
|
140 |
|
141 |
+
sen_obj_out=sen_obj_box[i]
|
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 |
|
149 |
#sen_obj_out=sen_obj[i-3:i+3]
|
150 |
#sen_obj=sen_obj_box[i]
|