Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -124,9 +124,9 @@ def sort_doc(text,steps_in=0,control=None):
|
|
124 |
for ii,ev in enumerate(step_cont_box):
|
125 |
if go:
|
126 |
if ev >= char_len-1:
|
127 |
-
step_cont_box[
|
128 |
if go1==True:
|
129 |
-
step_cont_box[
|
130 |
go1=False
|
131 |
cnt=1
|
132 |
else:
|
|
|
124 |
for ii,ev in enumerate(step_cont_box):
|
125 |
if go:
|
126 |
if ev >= char_len-1:
|
127 |
+
step_cont_box[ii]=0
|
128 |
if go1==True:
|
129 |
+
step_cont_box[ii-1]=step_cont_box[ii-1]+1
|
130 |
go1=False
|
131 |
cnt=1
|
132 |
else:
|