Phani1008 commited on
Commit
f5d794c
Β·
verified Β·
1 Parent(s): 08909e7

Delete Home.py

Browse files
Files changed (1) hide show
  1. Home.py +0 -62
Home.py DELETED
@@ -1,62 +0,0 @@
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 animations
13
- hero_animation = load_lottieurl("https://assets9.lottiefiles.com/packages/lf20_touohxv0.json")
14
- data_science_animation = load_lottieurl("https://assets9.lottiefiles.com/packages/lf20_jcikwtux.json")
15
- ml_animation = load_lottieurl("https://assets3.lottiefiles.com/packages/lf20_vf9lvx3t.json")
16
- dl_animation = load_lottieurl("https://assets10.lottiefiles.com/packages/lf20_kuhijlvx.json")
17
- gen_ai_animation = load_lottieurl("https://assets4.lottiefiles.com/packages/lf20_x62chJ.json")
18
-
19
- # Home Page
20
- st.title("Zero to Hero in Machine Learning 🌟")
21
- st_lottie(hero_animation, height=300, key="hero")
22
-
23
- st.header("About the Author πŸ“–")
24
- st.write("""
25
- Hi, I'm [Your Name], a passionate data scientist and machine learning enthusiast.
26
- Here's a bit about me:
27
- - **Skills:** Python, Data Analysis, Machine Learning, Deep Learning, Generative AI.
28
- - **Experience:** 5 years in the industry, working on various ML and AI projects.
29
- """)
30
-
31
- # Sections
32
- st.subheader("πŸ“Š Data Science")
33
- st_lottie(data_science_animation, height=200, key="data_science")
34
- st.write("""
35
- Data Science involves extracting insights from data using statistical and computational techniques.
36
- **Example:** Predicting sales based on historical data.
37
- """)
38
-
39
- st.subheader("πŸ€– Machine Learning")
40
- st_lottie(ml_animation, height=200, key="machine_learning")
41
- st.write("""
42
- Machine Learning enables systems to learn from data and improve their performance without being explicitly programmed.
43
- **Example:** Spam email detection.
44
- """)
45
-
46
- st.subheader("🧠 Deep Learning")
47
- st_lottie(dl_animation, height=200, key="deep_learning")
48
- st.write("""
49
- Deep Learning is a subset of Machine Learning that uses neural networks with multiple layers to model complex patterns.
50
- **Example:** Image recognition, like identifying cats in pictures.
51
- """)
52
-
53
- st.subheader("✨ Generative AI")
54
- st_lottie(gen_ai_animation, height=200, key="gen_ai")
55
- st.write("""
56
- Generative AI creates new content by learning from existing data.
57
- **Example:** ChatGPT for generating human-like text responses.
58
- """)
59
-
60
- # Footer with animation
61
- st.write("---")
62
- st.markdown("**Let's embark on this journey from Zero to Hero! πŸš€**")