Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -89,12 +89,12 @@ def get_nouns(text=text,steps=1):
|
|
89 |
print(div_raw)
|
90 |
div_steps=int(noun_cnt/step_allot)
|
91 |
print(div_steps)
|
92 |
-
div_remain=
|
93 |
print(div_remain)
|
94 |
steps_mult=div_remain*char_len
|
95 |
#steps_mult=div_remain*char_len
|
96 |
print(steps_mult)
|
97 |
-
|
98 |
step_list=[]
|
99 |
for z in range(1,steps):
|
100 |
if noun_cnt<=char_len*z:
|
|
|
89 |
print(div_raw)
|
90 |
div_steps=int(noun_cnt/step_allot)
|
91 |
print(div_steps)
|
92 |
+
div_remain=div_raw-div_steps
|
93 |
print(div_remain)
|
94 |
steps_mult=div_remain*char_len
|
95 |
#steps_mult=div_remain*char_len
|
96 |
print(steps_mult)
|
97 |
+
print(ceil(steps_mult))
|
98 |
step_list=[]
|
99 |
for z in range(1,steps):
|
100 |
if noun_cnt<=char_len*z:
|