Spaces:
Sleeping
Sleeping
File size: 2,015 Bytes
f25f344 | 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 74 75 76 77 78 79 | import streamlit as st
from teacheranalysis import analysis
from MCQ import MCQ
from LessonPlan import lessonplan
from lessonsummarize import summarize
from wellness import counsellor
st.set_page_config(page_title="AI Assistant For Teachers", page_icon=":teacher:", layout="centered")
st.markdown("<h1 style='text-align:center;font-family:Garamond,serif;color:#17252A;'>AI Assistant For Teachers</h1>", unsafe_allow_html=True)
st.write("""
<style>
/* Primary color */
.stApp {
background-color: #D3D9D4; /* Light gray background */
}
.stButton:hover,.stDropdown:hover {
/* Darker greenish-blue on hover */
}
/* Accent color */
.stAlert {
background-color: ##F5B7B1; /* Yellow-orange alert color */
color: #E74C3C; /* Reddish-orange font color */
}
/* Text colors */
.stText {
color: #212F3C; /* Dark gray text color */
}
.stHeader {
color: #212F3C; /* Medium gray header color */
}
.stMarkdown {
color: #444; /* Darker gray markdown color */
}
.stSidebar {
background-color: #124E66;
}
.stInfo {
background-color: #F5B7B1;
}
</style>
""", unsafe_allow_html=True)
options = st.sidebar.selectbox("What would you like to do?",["Perform Analysis","Generate Quiz","Generate Lesson Plan","Summarize Lesson","Get Counselling By AI"])
if options == "Perform Analysis":
analysis()
elif options=="Generate Quiz":
MCQ()
elif options=="Generate Lesson Plan":
lessonplan()
elif options=="Summarize Lesson":
summarize()
elif options=="Get Counselling By AI":
counsellor()
hide_st_style = """
<style>
#MainMenu {visibility: hidden;}
footer {visibility: hidden;}
header {visibility: hidden;}
</style>
"""
st.markdown(hide_st_style, unsafe_allow_html=True)
|