Update app.py
Browse files
app.py
CHANGED
@@ -138,12 +138,12 @@ def main():
|
|
138 |
if values:
|
139 |
tt = tet[:values*5]
|
140 |
i=0
|
141 |
-
st.
|
142 |
-
|
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)
|