Web_QnA / app.py
CosmoAI's picture
Update app.py
f42fa3c
raw
history blame
466 Bytes
import streamlit as st
from streamlit_option_menu import option_menu
embed = """<iframe
src="https://cosmoai-cosmos.hf.space"
frameborder="0"
width="850"
height="450"
></iframe>
"""
st.markdown(embed, unsafe_allow_html=True)
# Create a nested streamlit-option-menu
optons = [
"Option 1",
option_menu(
"Sub Menu",
options=["Option 2", "Option 3"]
),
]
# Display the streamlit-option-menu
option_menu("Main Menu", options = optons)