Update app.py
Browse files
app.py
CHANGED
@@ -139,12 +139,11 @@ def main():
|
|
139 |
tt = tet[:values*5]
|
140 |
i=0
|
141 |
if st.button("See_Next"):
|
142 |
-
|
143 |
-
while(i<=tl//(values*5) and g):
|
144 |
text = tet[i*(values*5):] if i==tl//(values*5) else tet[i*(values*5):(i+1)*(values*5)]
|
145 |
i+=1
|
146 |
-
|
147 |
-
|
148 |
|
149 |
elif uploaded_photo.type != "application/image":
|
150 |
img = Image.open(uploaded_photo)
|
|
|
139 |
tt = tet[:values*5]
|
140 |
i=0
|
141 |
if st.button("See_Next"):
|
142 |
+
if i<=tl//(values*5):
|
|
|
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 |
+
st.experimental_rerun()
|
147 |
|
148 |
elif uploaded_photo.type != "application/image":
|
149 |
img = Image.open(uploaded_photo)
|