Try to set up multipages

This commit is contained in:
Cheng Zhang
2024-09-03 17:11:33 +00:00
parent 4ee64b6e3f
commit bafb6de280
3 changed files with 14 additions and 1 deletions

View File

@@ -1,7 +1,14 @@
import streamlit as st
# setup page setttings
st.set_page_config(
page_title="Welcome to PythonX",
page_icon="👋",
)
st.image("./image/PythonXPicture.png")
# load pythonx logo
st.image("../image/PythonXPicture.png")
st.markdown("# :question: What is PythonX")

3
pages/Lesson1.py Normal file
View File

@@ -0,0 +1,3 @@
import streamlit as st
st.title("Lesson1")

3
pages/Lesson2.py Normal file
View File

@@ -0,0 +1,3 @@
import streamlit as st
st.title("Lesson2")