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("Face Recognition") st.subheader("Introduction") st.write( """Welcome to the interactive tutorial on creating your very own Face Recognition Application! In this tutorial, you will learn how to build a simple application that can detect and recognise faces from a given photo. Face recognition has revolutionized various industries, including security, entertainment, and personal identification. Are you ready to dive into the exciting world of face recognition?""" ) # 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)