-
Notifications
You must be signed in to change notification settings - Fork 150
/
streamlit_app.py
27 lines (20 loc) · 910 Bytes
/
streamlit_app.py
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
import streamlit as st
from streamlit_gallery import apps, components
from streamlit_gallery.utils.page import page_group
def main():
page = page_group("p")
with st.sidebar:
st.title("🎈 Okld's Gallery")
with st.expander("✨ APPS", True):
page.item("Streamlit gallery", apps.gallery, default=True)
with st.expander("🧩 COMPONENTS", True):
page.item("Ace editor", components.ace_editor)
page.item("Disqus", components.disqus)
page.item("Elements⭐", components.elements)
page.item("Pandas profiling", components.pandas_profiling)
page.item("Quill editor", components.quill_editor)
page.item("React player", components.react_player)
page.show()
if __name__ == "__main__":
st.set_page_config(page_title="Streamlit Gallery by Okld", page_icon="🎈", layout="wide")
main()