Omnibus commited on
Commit
3cdd434
·
verified ·
1 Parent(s): f51df89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=(noun_cnt%step_allot)/10
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: