-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsidebar.py
55 lines (35 loc) · 1.25 KB
/
sidebar.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import streamlit as st
from util import Social
# Function to manage navigation
def navigate(page):
st.query_params["page"]=page
def SideBar():
# Sidebar layout with navigation
with st.sidebar:
st.image("booms.png", use_column_width=True)
st.markdown(
"""
<style>
[data-testid="stImage"] img {
border-radius: 50%;
}
</style>
""",
unsafe_allow_html=True,
)
Social(sidebarPos=True)
st.header("Menu")
if st.button("🎃 Home"):
navigate("Home")
if st.button("💹 Stock Screener"):
navigate("stockscreener")
if st.button("🚀 Yolo for Logo"):
navigate("yolologo")
if st.button("🧠 News QA System using LLM"):
navigate("newsqa")
if st.button("🏆 Play with Image Classifier"):
navigate("image_classifer")
if st.button("🐙 Play with Cluster"):
navigate("clusterplay")
if st.button("🌐 Social"):
navigate("Social")