Phani1008 commited on
Commit
727e35e
Β·
verified Β·
1 Parent(s): e5c02b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -36
app.py CHANGED
@@ -10,7 +10,7 @@ def load_lottieurl(url: str):
10
  return r.json()
11
 
12
  # Load animations
13
- robot_animation = load_lottieurl("https://lottie.host/45619748-3867-4f57-8f50-cac297eca2da/1q98CFxp2I.json")
14
  hero_animation = load_lottieurl("https://assets9.lottiefiles.com/packages/lf20_touohxv0.json")
15
  data_science_animation = load_lottieurl("https://assets9.lottiefiles.com/packages/lf20_jcikwtux.json")
16
  ml_animation = load_lottieurl("https://assets3.lottiefiles.com/packages/lf20_vf9lvx3t.json")
@@ -21,41 +21,7 @@ gen_ai_animation = load_lottieurl("https://assets4.lottiefiles.com/packages/lf20
21
  st.title("Zero to Hero in Machine Learning 🌟")
22
  st_lottie(hero_animation, height=300, key="hero")
23
 
24
- # Custom Styling for the text and animation
25
- st.markdown(
26
- """
27
- <style>
28
- .top-right-message {
29
- position: fixed;
30
- top: 10px;
31
- right: 10px;
32
- font-size: 24px;
33
- font-weight: bold;
34
- color: #333;
35
- display: flex;
36
- align-items: center;
37
- }
38
- .top-right-message img {
39
- margin-left: 10px;
40
- width: 50px;
41
- }
42
- </style>
43
- """,
44
- unsafe_allow_html=True
45
- )
46
 
47
- # Add the animated line with robot animation to the top-right corner
48
- st.markdown(
49
- """
50
- <div class="top-right-message">
51
- Hey User!! Are You Ready??
52
- <img src="https://assets6.lottiefiles.com/packages/lf20_3867_4f57_8f50_cac297eca2da_1q98CFxp2I.json" alt="robot" />
53
- </div>
54
- """,
55
- unsafe_allow_html=True
56
- )
57
-
58
- # About the Author Section
59
  st.header("About the Author πŸ“–")
60
  st.write("""
61
  Hi, I'm Phaneendra Bharadwaj, an aspiring data scientist and machine learning enthusiast.
@@ -95,4 +61,4 @@ Generative AI creates new content by learning from existing data.
95
 
96
  # Footer with animation
97
  st.write("---")
98
- st.markdown("**Let's embark on this journey from Zero to Hero! πŸš€**")
 
10
  return r.json()
11
 
12
  # Load animations
13
+ robot_animation= load_lottieurl("https://lottie.host/45619748-3867-4f57-8f50-cac297eca2da/1q98CFxp2I.json")
14
  hero_animation = load_lottieurl("https://assets9.lottiefiles.com/packages/lf20_touohxv0.json")
15
  data_science_animation = load_lottieurl("https://assets9.lottiefiles.com/packages/lf20_jcikwtux.json")
16
  ml_animation = load_lottieurl("https://assets3.lottiefiles.com/packages/lf20_vf9lvx3t.json")
 
21
  st.title("Zero to Hero in Machine Learning 🌟")
22
  st_lottie(hero_animation, height=300, key="hero")
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  st.header("About the Author πŸ“–")
26
  st.write("""
27
  Hi, I'm Phaneendra Bharadwaj, an aspiring data scientist and machine learning enthusiast.
 
61
 
62
  # Footer with animation
63
  st.write("---")
64
+ st.markdown("**Let's embark on this journey from Zero to Hero! πŸš€**")