aieye/emotion_classifier_tutorial
0
1import streamlit as st2from utils.levels import complete_level, initialize_level, render_page, get_level3from utils.login import initialize_login4 5initialize_login()6initialize_level()7 8LEVEL = 09 10 11def intro_page():12 st.header("Facial Emotion Recognition")13 st.subheader("Introduction")14 15 st.write(16 """Welcome to the interactive tutorial on creating your very own Emotion Detection Application! In this tutorial, you will learn how to build 17 a simple application that can recognize and detect emotions from facial expressions. Emotion detection is a fascinating field that combines computer vision 18 and machine learning techniques. Are you ready to dive into the exciting world of emotion detection?"""19 )20 21 st.image(22 "https://miro.medium.com/v2/resize:fit:720/0*Ko6oX3rRb0aTgdUI.gif",23 use_column_width=True,24 )25 26 st.info(f"Click on the button below to start the tutorial!")27 28 if st.button("I am Ready!"):29 complete_level(LEVEL)30 31 32render_page(intro_page, LEVEL)33 