emotion_classifier_tutorial / 0_Introduction.py
chandralegend's picture
added tutorial content
47c3daf
import streamlit as st
from utils.levels import complete_level, initialize_level, render_page, get_level
from utils.login import initialize_login
initialize_login()
initialize_level()
LEVEL = 0
def intro_page():
st.header("Facial Emotion Recognition")
st.subheader("Introduction")
st.write(
"""Welcome to the interactive tutorial on creating your very own Emotion Detection Application! In this tutorial, you will learn how to build
a simple application that can recognize and detect emotions from facial expressions. Emotion detection is a fascinating field that combines computer vision
and machine learning techniques. Are you ready to dive into the exciting world of emotion detection?"""
)
st.image(
"https://miro.medium.com/v2/resize:fit:720/0*Ko6oX3rRb0aTgdUI.gif",
use_column_width=True,
)
st.info(f"Click on the button below to start the tutorial!")
if st.button("I am Ready!"):
complete_level(LEVEL)
render_page(intro_page, LEVEL)