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("Speech Recognition 🗣️ ") st.markdown( """ Welcome to our Speech Recognition Tutorial! In this tutorial, we will explore the fascinating world of AI (Artificial Intelligence). AI is a field of computer science that focuses on creating machines or systems that can perform tasks that normally require human intelligence. It's like teaching computers to think and understand like humans! """ ) st.image( "https://i.pinimg.com/originals/42/78/76/42787621ed6d40f0c30f0ae423fc572c.gif", use_column_width=True, ) st.markdown( """ Have you ever heard of voice assistants like Siri or Alexa? They are great examples of AI in action. Voice assistants can answer questions, play music, or even control smart devices in our homes. AI is also used in recommendation systems that suggest movies or shows we might like to watch. So, you see, AI is becoming a part of our daily lives and can help us in many ways. """ ) st.image( "https://miro.medium.com/max/1024/1*OkNFPAJZs-giAEKlOZI9HQ.png", 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)