update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,9 @@ from st_pages import add_page_title, get_nav_from_toml
|
|
| 6 |
# defaults to looking in .streamlit/pages.toml, so you can just call `get_nav_from_toml()`
|
| 7 |
|
| 8 |
st.set_page_config(layout="wide")
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
| 6 |
# defaults to looking in .streamlit/pages.toml, so you can just call `get_nav_from_toml()`
|
| 7 |
|
| 8 |
st.set_page_config(layout="wide")
|
| 9 |
+
|
| 10 |
+
pages = [
|
| 11 |
+
st.Page("./pages/app_task-2.py", title="Toxic_app", icon="🚨")
|
| 12 |
+
]
|
| 13 |
+
pg = st.navigation(pages)
|
| 14 |
+
pg.run()
|