Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,23 @@ page = st.query_params.get("page", "home")
|
|
| 7 |
|
| 8 |
if page == "home":
|
| 9 |
st.title("Crawler Test - Home Page")
|
| 10 |
-
st.markdown('<a href="?page=loop1" target="_self">Go to Loop Page</a>', unsafe_allow_html=True)
|
|
|
|
| 11 |
elif page == "loop1":
|
| 12 |
-
st.title("Loop Page")
|
| 13 |
-
st.markdown('<a href="?page=home" target="_self">Go back to Home</a>', unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
if page == "home":
|
| 9 |
st.title("Crawler Test - Home Page")
|
| 10 |
+
st.markdown('<a href="?page=loop1" target="_self">Go to Loop Page 1</a>', unsafe_allow_html=True)
|
| 11 |
+
|
| 12 |
elif page == "loop1":
|
| 13 |
+
st.title("Loop Page 1")
|
| 14 |
+
st.markdown('<a href="?page=home" target="_self">Go back to Home</a>', unsafe_allow_html=True)
|
| 15 |
+
st.markdown('<a href="?page=loop2" target="_self">Go to Loop Page 2</a>', unsafe_allow_html=True)
|
| 16 |
+
|
| 17 |
+
elif page == "loop2":
|
| 18 |
+
st.title("Loop Page 2")
|
| 19 |
+
st.markdown("""
|
| 20 |
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt
|
| 21 |
+
ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
|
| 22 |
+
ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
|
| 23 |
+
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
| 24 |
+
|
| 25 |
+
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
|
| 26 |
+
mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit
|
| 27 |
+
voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab
|
| 28 |
+
illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
|
| 29 |
+
""")
|