import streamlit as st from streamlit_lottie import st_lottie import requests # Function to load Lottie animations def load_lottieurl(url: str): r = requests.get(url) if r.status_code != 200: return None return r.json() # Load your provided Lottie animation lottie_animation_url = "https://lottie.host/45619748-3867-4f57-8f50-cac297eca2da/1q98CFxp2I.json" hero_animation = load_lottieurl(lottie_animation_url) # App title st.title("Zero to Hero in Machine Learning 🚀") # Add Lottie animation at the top of the page st_lottie(hero_animation, height=300, key="hero") # Add animated text "Hey User! Are you Ready??" in the top-right corner st.markdown( """