Omnibus commited on
Commit
2880c10
·
verified ·
1 Parent(s): 33565d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -11
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
- 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]
114
- print(step_cont_box)
115
- cnt+=1
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: