-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.py
More file actions
35 lines (26 loc) · 703 Bytes
/
App.py
File metadata and controls
35 lines (26 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import streamlit as st
from streamlit_extras.buy_me_a_coffee import button
version: str = "0.0.3"
logo: str = "./assets/logo.png"
coffee_username: str = "astrayn"
#Page setup
HomePage = st.Page(
page="pages/Main.py",
icon="🎨",
title = "Streamlit Themer",
default = True
)
AboutPage = st.Page(
page="pages/About.py",
icon="👤",
title = "About"
)
# Navigation Bar
pg = st.navigation([HomePage, AboutPage])
st.logo(logo, size='large')
with st.sidebar:
st.markdown(14*"<br>", unsafe_allow_html=True)
st.caption("Support me by clicking on this button 👇")
button(username=coffee_username, floating=False, width=221)
st.caption(version)
pg.run()