Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -101,19 +101,26 @@ def get_nouns(text=text,steps=1):
|
|
101 |
step_control=""
|
102 |
step_cont_box=[]
|
103 |
for ii in range(math.ceil(div_raw)):
|
104 |
-
|
|
|
105 |
print (step_cont_box)
|
106 |
-
|
|
|
107 |
pos=len(step_cont_box)-1
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
|
|
|
|
|
|
|
|
|
|
117 |
'''
|
118 |
for z in range(1,steps):
|
119 |
if noun_cnt<=char_len*z:
|
|
|
101 |
step_control=""
|
102 |
step_cont_box=[]
|
103 |
for ii in range(math.ceil(div_raw)):
|
104 |
+
print(ii)
|
105 |
+
step_cont_box.append("")
|
106 |
print (step_cont_box)
|
107 |
+
big_cnt=0
|
108 |
+
cnt=0
|
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:
|
122 |
+
print("DONE")
|
123 |
+
go=False
|
124 |
'''
|
125 |
for z in range(1,steps):
|
126 |
if noun_cnt<=char_len*z:
|