Phani1008 commited on
Commit
bc791b7
Β·
verified Β·
1 Parent(s): facef00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -10,19 +10,19 @@ def load_lottieurl(url: str):
10
  return r.json()
11
 
12
  # Load your provided Lottie animation
13
- lottie_animation_url = "https://assets9.lottiefiles.com/packages/lf20_touohxv0.json" # Use your animation URL here
14
  hero_animation = load_lottieurl(lottie_animation_url)
15
 
16
  # App title
17
  st.title("Zero to Hero in Machine Learning πŸš€")
18
 
19
- # Add Lottie animation
20
  st_lottie(hero_animation, height=300, key="hero")
21
 
22
- # Add animated text near the animation
23
  st.markdown(
24
  """
25
- <div style="font-size:30px; color:#f39c12; text-align:center; font-weight:bold; animation: textAnimation 2s ease-in-out infinite;">
26
  Hey User! Are you Ready??
27
  </div>
28
  <style>
@@ -36,12 +36,11 @@ st.markdown(
36
  unsafe_allow_html=True
37
  )
38
 
39
- # Author and skills
40
  st.header("About the Author πŸ“–")
41
  st.write("""
42
  Hi, I'm [Your Name], a Machine Learning enthusiast and Data Scientist.
43
  **Skills:**
44
- - Python, Pandas, Scikit-Learn, TensorFlow
45
  - Streamlit, Generative AI
46
- - Data Visualization
47
- """)
 
10
  return r.json()
11
 
12
  # Load your provided Lottie animation
13
+ lottie_animation_url = "https://lottie.host/45619748-3867-4f57-8f50-cac297eca2da/1q98CFxp2I.json"
14
  hero_animation = load_lottieurl(lottie_animation_url)
15
 
16
  # App title
17
  st.title("Zero to Hero in Machine Learning πŸš€")
18
 
19
+ # Add Lottie animation at the top of the page
20
  st_lottie(hero_animation, height=300, key="hero")
21
 
22
+ # Add animated text "Hey User! Are you Ready??" in the top-right corner
23
  st.markdown(
24
  """
25
+ <div style="position: fixed; top: 20px; right: 20px; font-size:30px; color:#f39c12; font-weight:bold; animation: textAnimation 2s ease-in-out infinite;">
26
  Hey User! Are you Ready??
27
  </div>
28
  <style>
 
36
  unsafe_allow_html=True
37
  )
38
 
39
+ # Author and skills section
40
  st.header("About the Author πŸ“–")
41
  st.write("""
42
  Hi, I'm [Your Name], a Machine Learning enthusiast and Data Scientist.
43
  **Skills:**
44
+ - Python, Pandas, TensorFlow
45
  - Streamlit, Generative AI
46
+ - Data Visuali