Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -104,10 +104,10 @@ def get_nouns(text=text,steps=1):
|
|
104 |
step_cont_box.append(0)
|
105 |
print (step_cont_box)
|
106 |
cnt_ea=0
|
107 |
-
pos=1
|
108 |
for i, ea in enumerate(noun_box):
|
109 |
if cnt >= char_len:
|
110 |
-
pos
|
111 |
cnt=0
|
112 |
else:
|
113 |
step_cont_box[pos]=control_char[cnt]
|
|
|
104 |
step_cont_box.append(0)
|
105 |
print (step_cont_box)
|
106 |
cnt_ea=0
|
107 |
+
pos=len(step_cont_box)-1
|
108 |
for i, ea in enumerate(noun_box):
|
109 |
if cnt >= char_len:
|
110 |
+
pos-=1
|
111 |
cnt=0
|
112 |
else:
|
113 |
step_cont_box[pos]=control_char[cnt]
|