Update my_pages/home.py
Browse files- my_pages/home.py +15 -0
my_pages/home.py
CHANGED
|
@@ -68,3 +68,18 @@ def render():
|
|
| 68 |
for page in button_clicked_dict:
|
| 69 |
if button_clicked_dict[page]:
|
| 70 |
go_to(page)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
for page in button_clicked_dict:
|
| 69 |
if button_clicked_dict[page]:
|
| 70 |
go_to(page)
|
| 71 |
+
|
| 72 |
+
st.markdown(
|
| 73 |
+
"""
|
| 74 |
+
<div style='text-align: center; font-size:18px; color:gray;'>
|
| 75 |
+
Click on sentences above to initiate various piece of the demo. <br>
|
| 76 |
+
Or click on the 'Start Tutorial' button below to go through them all sequentially.
|
| 77 |
+
</div>
|
| 78 |
+
""",
|
| 79 |
+
unsafe_allow_html=True
|
| 80 |
+
)
|
| 81 |
+
|
| 82 |
+
col1, col2, col3 = st.columns([2, 1, 2])
|
| 83 |
+
with col2:
|
| 84 |
+
if st.button("Start Tutorial"):
|
| 85 |
+
go_to(sentences[0][1])
|