import altair as alt
import numpy as np
import pandas as pd
import streamlit as st
import streamlit as st
from streamlit_lottie import st_lottie
import requests
# Custom CSS for Enhanced Styling
st.markdown("""
""", unsafe_allow_html=True)
# Title
st.markdown("
", unsafe_allow_html=True)
# Load Lottie Animation
@st.cache_data
def load_lottie_url(url: str):
response = requests.get(url)
if response.status_code != 200:
return None
return response.json()
lottie_animation = load_lottie_url("https://lottie.host/6e182649-61a6-4683-8680-5493855ac08a/G0pStmcS8T.json")
if lottie_animation:
st_lottie(lottie_animation, height=200, key="ai_mentor")
else:
st.error("⚠️ Failed to load animation. Please check your internet connection.")
# About the App
st.markdown('', unsafe_allow_html=True)
st.markdown("", unsafe_allow_html=True)
st.write("AI Mentor is your 24/7 intelligent tutor. Whether you're learning to code, analyzing data, or building models — our six expert mentors guide you through every concept and doubt, anytime.")
st.markdown('
', unsafe_allow_html=True)
# Meet the Mentors
st.markdown('', unsafe_allow_html=True)
st.markdown("", unsafe_allow_html=True)
st.markdown("""
- 🐍 **Python Mentor** – Syntax, logic, and real-world programming help.
- 🤖 **Machine Learning Mentor** – Concepts, algorithms, and real-life applications.
- 🧠 **Deep Learning Mentor** – CNNs, RNNs, Transformers, and neural networks.
- 📊 **Data Analytics Mentor** – Cleaning, visualizing, and interpreting data.
- 📐 **Statistics Mentor** – Distributions, hypotheses, and probability theory.
- 🛢️ **SQL & Power BI Mentor** – Master data querying and powerful dashboards.
""")
st.markdown('
', unsafe_allow_html=True)
# About the Creator
st.markdown('', unsafe_allow_html=True)
st.markdown("", unsafe_allow_html=True)
st.write("Hi! I'm a developer passionate about merging AI with education. I created AI Mentor to help learners break down complex topics and become confident, skilled problem-solvers.")
st.markdown('
', unsafe_allow_html=True)
# Contact Section
st.markdown('', unsafe_allow_html=True)
st.markdown("", unsafe_allow_html=True)
# Buttons with Links
st.markdown('
', unsafe_allow_html=True)