-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsidebar.py
21 lines (18 loc) · 821 Bytes
/
sidebar.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from pickle import FALSE
import streamlit as st
from streamlit_option_menu import option_menu
def show():
with st.sidebar:
st.markdown("""
# Applications
""", unsafe_allow_html = False)
selected = option_menu(
menu_title = None, #required
# options = ["Text", "IMDb movie reviews", "Image", "Audio", "Video", "Twitter Data", "Web Scraping"], #required
# icons = ["card-text", "film", "image", "mic", "camera-video", "twitter", "globe"], #optional
options = ["Text", "IMDb movie reviews", "Image"], #required
icons = ["card-text", "film", "image"], #optional
# menu_icon="cast", #optional
default_index = 0, #optional
)
return selected