Phani1008 commited on
Commit
d389669
·
verified ·
1 Parent(s): 0aabd3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +27 -0
app.py CHANGED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from streamlit_lottie import st_lottie
3
+ import requests
4
+
5
+ # Function to load Lottie animations
6
+ def load_lottieurl(url: str):
7
+ r = requests.get(url)
8
+ if r.status_code != 200:
9
+ return None
10
+ return r.json()
11
+
12
+ # Load a hero animation
13
+ hero_animation = load_lottieurl("https://assets9.lottiefiles.com/packages/lf20_touohxv0.json")
14
+
15
+ # App title and hero animation
16
+ st.title("Zero to Hero in Machine Learning 🚀")
17
+ st_lottie(hero_animation, height=300, key="hero")
18
+
19
+ # Author details
20
+ st.header("About the Author 📖")
21
+ st.write("""
22
+ Hi, I'm [Your Name], a Machine Learning enthusiast and Data Scientist.
23
+ **Skills:**
24
+ - Python, Pandas, Scikit-Learn, TensorFlow
25
+ - Streamlit, Generative AI
26
+ - Data Visualization
27
+ """)