Spaces:
Runtime error
Runtime error
File size: 1,383 Bytes
0749516 d45b18e 0749516 db5bf7c d45b18e 0749516 d45b18e 679e370 d45b18e 0749516 d45b18e 0749516 d45b18e 0749516 97790c7 0749516 97790c7 0749516 97790c7 0749516 97790c7 0749516 d45b18e 0749516 d45b18e 97790c7 0749516 97790c7 0749516 d45b18e 0749516 |
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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
import streamlit as st
from streamlit_option_menu import option_menu
import os
def Reminder():
embed = """<iframe
src="https://ankush05-reminder.hf.space"
frameborder="0"
width="1100"
height="900"
></iframe>
"""
st.markdown(embed, unsafe_allow_html=True)
def Reports():
st.title("Reports")
def ChatBot():
botspace = """<iframe
src="https://ankush05-chatbot.hf.space"
frameborder="0"
width="850"
height="450"
></iframe>"""
st.markdown(botspace, unsafe_allow_html=True)
def Friday():
st.title("Friday")
def Code4():
st.title("Code4")
def Code5():
st.title("Code5")
def Code6():
st.title("Code6")
def dashboard():
st.title("Welcome to the Dashboard")
with st.sidebar:
selected = option_menu(
None,
["Reminder", "ChatBot", "Friday", "Code4", "Code5", "Code6", "Logout"],
icons=["plus", "eye", "sun", "book", "book", "book", "power-off"],
)
if selected == "Reminder":
Reminder()
elif selected == "ChatBot":
ChatBot()
elif selected == "Friday":
Friday()
elif selected == "Code4":
Code4()
elif selected == "Code5":
Code5()
elif selected == "Code6":
Code6()
elif selected == "Logout":
st.session_state["user"] = "Guest"
st.experimental_rerun()
|