Phani1008 commited on
Commit
37e5c81
·
verified ·
1 Parent(s): ab5cefd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +33 -0
app.py CHANGED
@@ -33,6 +33,39 @@ Here's a bit about me:
33
  - **Experience:** I'm a Fresher, working on various ML related projects.
34
  """)
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
  # Sections
38
  st.subheader("📊 Data Science")
 
33
  - **Experience:** I'm a Fresher, working on various ML related projects.
34
  """)
35
 
36
+ st.markdown(
37
+ """
38
+ <div style="position: fixed; top: 20px; right: 20px; display: flex; align-items: center;">
39
+ <div style="font-size:30px; color:#f39c12; font-weight:bold; animation: textAnimation 2s ease-in-out infinite; margin-right: 20px;">
40
+ Hey User! Are you Ready??
41
+ </div>
42
+ <div>
43
+ <!-- Lottie animation -->
44
+ <div style="width: 100px; height: 100px;">
45
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.10/lottie.min.js"></script>
46
+ <div id="lottie"></div>
47
+ <script>
48
+ var animation = bodymovin.loadAnimation({
49
+ container: document.getElementById('lottie'),
50
+ renderer: 'svg',
51
+ loop: true,
52
+ autoplay: true,
53
+ path: 'https://lottie.host/45619748-3867-4f57-8f50-cac297eca2da/1q98CFxp2I.json'
54
+ });
55
+ </script>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <style>
60
+ @keyframes textAnimation {
61
+ 0% { color: #f39c12; transform: scale(1.1); }
62
+ 50% { color: #e74c3c; transform: scale(1.2); }
63
+ 100% { color: #f39c12; transform: scale(1.1); }
64
+ }
65
+ </style>
66
+ """,
67
+ unsafe_allow_html=True
68
+ )
69
 
70
  # Sections
71
  st.subheader("📊 Data Science")