Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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://
|
| 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
|
| 23 |
st.markdown(
|
| 24 |
"""
|
| 25 |
-
<div style="font-size:30px; color:#f39c12;
|
| 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,
|
| 45 |
- Streamlit, Generative AI
|
| 46 |
-
- Data
|
| 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
|
|
|