Soumen commited on
Commit
267e850
·
1 Parent(s): e8c1b5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -138,12 +138,12 @@ def main():
138
  if values:
139
  tt = tet[:values*5]
140
  i=0
141
- st.success(tt)
142
- if st.button("Next"):
143
- while(i<=tl//(values*5)):
144
- i+=1
145
  text = tet[i*(values*5):] if i==tl//(values*5) else tet[i*(values*5):(i+1)*(values*5)]
 
146
  st.success(text)
 
147
 
148
  elif uploaded_photo.type != "application/image":
149
  img = Image.open(uploaded_photo)
 
138
  if values:
139
  tt = tet[:values*5]
140
  i=0
141
+ if st.button("See_Next") and g=True:
142
+ while(i<=tl//(values*5) and g):
 
 
143
  text = tet[i*(values*5):] if i==tl//(values*5) else tet[i*(values*5):(i+1)*(values*5)]
144
+ i+=1
145
  st.success(text)
146
+ g=False
147
 
148
  elif uploaded_photo.type != "application/image":
149
  img = Image.open(uploaded_photo)