Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,17 +105,17 @@ def get_nouns(text=text,steps=1):
|
|
| 105 |
for ii in range(steps):
|
| 106 |
print(ii)
|
| 107 |
step_cont_box.append("0")
|
| 108 |
-
print (step_cont_box)
|
| 109 |
pos=len(step_cont_box)-1
|
| 110 |
if go:
|
| 111 |
for i, ea in enumerate(noun_box):
|
| 112 |
if go:
|
| 113 |
-
|
| 114 |
-
print(step_cont_box)
|
| 115 |
-
if cnt >= char_len:
|
| 116 |
pos-=1
|
| 117 |
cnt=0
|
| 118 |
else:
|
|
|
|
|
|
|
| 119 |
cnt+=1
|
| 120 |
big_cnt+=1
|
| 121 |
if big_cnt==noun_cnt:
|
|
|
|
| 105 |
for ii in range(steps):
|
| 106 |
print(ii)
|
| 107 |
step_cont_box.append("0")
|
| 108 |
+
#print (step_cont_box)
|
| 109 |
pos=len(step_cont_box)-1
|
| 110 |
if go:
|
| 111 |
for i, ea in enumerate(noun_box):
|
| 112 |
if go:
|
| 113 |
+
if cnt > char_len:
|
|
|
|
|
|
|
| 114 |
pos-=1
|
| 115 |
cnt=0
|
| 116 |
else:
|
| 117 |
+
step_cont_box[pos]=control_char[cnt]
|
| 118 |
+
print(step_cont_box)
|
| 119 |
cnt+=1
|
| 120 |
big_cnt+=1
|
| 121 |
if big_cnt==noun_cnt:
|