sreelekhaputta2 commited on
Commit
276f09c
Β·
verified Β·
1 Parent(s): 3a406fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +210 -97
app.py CHANGED
@@ -15,20 +15,26 @@ class Portfolio:
15
  }
16
 
17
  self.about = """
18
- Hi, I'm <strong>Sreelekha</strong>, a passionate <strong>AI/ML enthusiast, innovator, and problem solver</strong>, in my final year of B.Tech. My journey blends technical skills with creativityβ€”I love building AI-powered tools that make life simpler, meaningful, and even spiritual.
 
 
19
  <br><br>
20
- I've interned as an <strong>AI Intern at Spectov</strong> and <strong>AI Tools Expert Intern at Website Makers</strong>, gaining hands-on experience in <strong>Generative AI, NLP, and Machine Learning applications</strong>. Some unique projects:
 
21
  <br><br>
22
- β€’ <strong>Idealyze</strong> – an AI startup validator (85% accuracy)<br>
23
- β€’ <strong>WiseVerse</strong> – a Bhagavad Gita-based AI chatbot (95% accuracy)<br>
24
- β€’ <strong>DivineLoop</strong> and <strong>AvatarVerse</strong> – creative AI solutions<br>
25
- β€’ <strong>GenDoc AI</strong> – an AI-driven code documentation tool
26
  <br><br>
27
- With an <strong>8.0 CGPA</strong> and a strong foundation in <strong>Python, ML, Deep Learning, and AI frameworks</strong>, I aim to grow into an <strong>AI Project Manager & Generative AI Engineer</strong>, bridging technology with real-world impact.
 
28
  <br><br>
29
- Outside of tech, I find peace in spirituality and creativityβ€”I'm inspired by Lord Krishna's teachings, which guide my mindset toward resilience and growth.
 
30
  <br><br>
31
- <strong>My goal:</strong> Shape the future of AI while making technology more <strong>human-centered, ethical, and impactful</strong>.
 
32
  """
33
 
34
  self.projects = [
@@ -46,23 +52,114 @@ class Portfolio:
46
  "achievements": ["WiseVerse chatbot with 95% accuracy, 40% engagement boost", "Idealyze validator with 85% accuracy, 50% better decisions", "AI tools & prompt engineering boosting efficiency by 35%"]}
47
  ]
48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  def create_header(self):
50
  return f"""
51
- <div style='background: linear-gradient(135deg, #5252a3 0%, #633d9c 100%); padding: 26px; border-radius: 14px; margin: 15px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.22); text-align: center;'>
52
- <h1 style='font-size: 2.3rem; color: #FFD700; font-weight: 700; margin-bottom: 6px;'>{self.profile['name']}</h1>
53
- <div style='font-size: 1.10rem; color: #F4F4F4; margin-bottom: 4px;'>{self.profile['title']}</div>
54
- <span style='display:inline-block;border-radius:14px;padding:4px 12px;margin:3px 2px;background:#FFA8001A;color:#442A00;'>πŸ“ {self.profile['location']}</span>
55
- <span style='display:inline-block;border-radius:14px;padding:4px 12px;margin:3px 2px;background:#87CEEB1A;color:#003344;'>πŸ“ž {self.profile['phone']}</span>
56
- <span style='display:inline-block;border-radius:14px;padding:4px 12px;margin:3px 2px;background:#FF6B6B1A;color:#560000;'>βœ‰οΈ {self.profile['email']}</span>
57
- <br><span style='display:inline-block;border-radius:14px;padding:4px 12px;margin:4px 2px;background:#FFD70021;color:#595106;'>πŸŽ“ B.Tech IT(AI/ML) | CGPA: {self.profile['cgpa']}</span>
 
 
 
 
 
 
 
 
 
58
  </div>
59
  """
60
 
61
  def create_about(self):
62
  return f"""
63
- <div style='background: #FFF; border-radius:11px; margin:0 0 16px 0; padding:18px; color:#232323;'>
64
- <h2 style="color:#FFA500; font-weight:700; margin-bottom:10px;">πŸ‘€ About Me</h2>
65
- <div style="font-size:1.04rem; line-height:1.75;">{self.about}</div>
 
 
66
  </div>
67
  """
68
 
@@ -73,92 +170,101 @@ class Portfolio:
73
  fig = go.Figure()
74
  fig.add_trace(go.Scatterpolar(
75
  r=values + [values[0]], theta=categories + [categories[0]],
76
- fill='toself', fillcolor='rgba(255, 165, 0, 0.18)',
77
- line_color='#FFA500', line_width=2, marker=dict(size=6, color='#FFA500')
78
  ))
79
  fig.update_layout(
80
  polar=dict(
81
- radialaxis=dict(visible=True, range=[0, 100]),
82
- angularaxis=dict(tickfont=dict(size=13))
83
  ),
 
84
  title=dict(text="Technical & Soft Skills", font=dict(size=18, color='#FFA500')),
85
- width=530, height=380, showlegend=False,
86
- paper_bgcolor="#FFF", plot_bgcolor="#FFF"
87
  )
88
  return fig
89
 
90
  def create_metrics_chart(self):
91
  metrics = ['WiseVerse', 'Idealyze', 'User Engagement', 'Efficiency Boost']
92
  values = [95, 85, 40, 35]
93
-
94
  fig = go.Figure(data=[go.Bar(
95
  x=metrics, y=values,
96
  marker_color=['#FFA500', '#FF6B6B', '#00FF87', '#87CEEB'],
97
  text=[f'{v}%' for v in values], textposition='auto',
98
- textfont=dict(color='#333')
99
  )])
100
  fig.update_layout(
101
  title=dict(text="Key Project Metrics", font=dict(size=18, color='#FFA500')),
102
- xaxis=dict(title="Projects/Metrics"),
103
- yaxis=dict(title="Percentage"),
104
- paper_bgcolor="#FFF", plot_bgcolor="#FFF",
105
- width=530, height=330
106
  )
107
  return fig
108
 
109
  def create_interface():
110
  portfolio = Portfolio()
111
-
112
- with gr.Blocks(theme=gr.themes.HuggingFace(), title="Sreelekha Putta - AI Engineer Portfolio") as demo:
 
 
 
113
  with gr.Row():
114
  with gr.Column(scale=1):
115
  profile_img = gr.Image(
116
  value="profile.jpg",
117
  label="Profile Picture",
118
  show_label=False,
119
- height=185,
120
- width=185,
121
  type="filepath",
122
- container=True
 
123
  )
 
124
  gr.HTML(portfolio.create_header())
 
125
  with gr.Tabs():
126
  with gr.Tab("πŸ‘€ About"):
127
  gr.HTML(portfolio.create_about())
128
- gr.HTML("""
129
- <div style='background: #FEF7DA; border-radius:10px; margin:0 0 18px 0; padding:15px;'>
130
- <h3 style="color: #FFA500;">B.Tech in Information Technology (AI/ML Specialization)</h3>
131
- <div style="color:#2a2a2a;">JNTUH College of Engineering Jagitial</div>
132
- <div style="color: #FFA500;">2022 – 2026 | CGPA: 8.0</div>
 
 
 
 
133
  </div>
134
  """)
 
135
  with gr.Tab("πŸ’Ό Experience"):
136
- exp_html = '<div style="background:#FFF; border-radius:11px; padding:18px;">'
137
- exp_html += '<h2 style="color:#FFA500; margin-bottom:10px;">Professional Experience</h2>'
138
  for exp in portfolio.experience:
139
  exp_html += f"""
140
- <div style="background:#FAFAFF;border:1px solid #F1EAFB;border-radius:10px; margin-bottom:11px; padding:12px;">
141
- <h3 style="color:#FFA500;">{exp['role']}</h3>
142
- <div style="color:#364F6B;">{exp['company']} | {exp['duration']}</div>
143
- <ul style="margin-top:10px; color:#363636;">
144
  """
145
  for ach in exp['achievements']:
146
- exp_html += f'<li style="margin:5px 0;">⚑ {ach}</li>'
147
  exp_html += '</ul></div>'
148
  exp_html += '</div>'
149
  gr.HTML(exp_html)
150
  gr.Plot(portfolio.create_metrics_chart())
151
 
152
  with gr.Tab("πŸš€ Projects"):
153
- proj_html = '<div style="background:#FFF; border-radius:11px; padding:18px;"><h2 style="color:#FFA500; margin-bottom:10px;">Featured Projects</h2>'
154
  for proj in portfolio.projects:
155
- tags = ''.join([f'<span style="background:#FFD70022; color:#232323; border-radius:6px; font-size:0.98em; padding:2px 7px; margin:0 4px 0 0;">{t}</span>' for t in proj['tech']])
156
  proj_html += f"""
157
- <div style="background:linear-gradient(135deg,#f6f6fb 65%,#ffe277 100%);border:1px solid #FFD70044;border-radius:10px;margin-bottom:13px;padding:13px;">
158
- <h3 style="margin-bottom:7px;color:#FFA500;">{proj['name']}</h3>
159
- <div style="margin-bottom:7px;color:#232323;">{proj['desc']}</div>
160
- <div style="margin-bottom:7px;">{tags}</div>
161
- <a href="{proj['link']}" target="_blank" style="padding:7px 17px;background:#FFA500;color:#FFF;border-radius:9px;font-weight:600;text-decoration:none;">View Project β†’</a>
162
  </div>
163
  """
164
  proj_html += '</div>'
@@ -170,42 +276,42 @@ def create_interface():
170
  gr.Plot(portfolio.create_skills_chart())
171
  with gr.Column():
172
  gr.HTML("""
173
- <div style="background:#FFF; border-radius:10px; padding:15px;">
174
- <h2 style="color:#FFA500;">Technical Skills</h2>
175
- <div style="color:#262626; line-height:2;">
176
- <strong>Programming:</strong> Python, C, Java, SQL<br>
177
- <strong>AI/ML:</strong> Machine Learning, Deep Learning, NLP, Generative AI, LLMs<br>
178
- <strong>Frameworks:</strong> TensorFlow, PyTorch, Hugging Face, Flask<br>
179
- <strong>Tools:</strong> Git/GitHub, NumPy, Pandas, Matplotlib, Seaborn<br>
180
- <strong>Specialization:</strong> Prompt Engineering, Full-stack AI Deployment
181
- </div>
182
- <h2 style="margin-top:18px;color:#FFA500;">Soft Skills</h2>
183
- <div style="color:#222; line-height:2;">
184
- β€’ <strong>Leadership</strong> – Led Cultural Night 2025 (1000+ audience)<br>
185
- β€’ <strong>Communication</strong> – Exceptional presentation, public speaking<br>
186
- β€’ <strong>Problem Solving</strong> – Creative AI solution design<br>
187
- β€’ <strong>Team Collaboration</strong> – Cross-functional project delivery<br>
188
- β€’ <strong>Project Management</strong> – Planning, execution excellence
189
- </div>
190
  </div>
191
  """)
192
 
193
  with gr.Tab("πŸ† Achievements"):
194
  gr.HTML("""
195
- <div style="background:#FFF; border-radius:10px; padding:17px;">
196
- <h2 style="color:#FFA500;">Key Achievements</h2>
197
- <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 11px;">
198
- <div style="background:#FFFBF0; border-radius:8px; text-align:center; padding:11px;">
199
- <div style="font-size:1.3em; color:#FFA500;">πŸ… Top Intern</div>
200
- <div style="margin-top:6px; color:#232323;">Recognized for AI innovation at Website Makers (2025)</div>
201
  </div>
202
- <div style="background:#FFFBF0; border-radius:8px; text-align:center; padding:11px;">
203
- <div style="font-size:1.3em; color:#FFA500;">🎀 1000+</div>
204
- <div style="margin-top:6px; color:#232323;">Hosted Cultural Night 2025 at JNTUH</div>
205
  </div>
206
- <div style="background:#FFFBF0; border-radius:8px; text-align:center; padding:11px;">
207
- <div style="font-size:1.3em; color:#FFA500;">πŸš€ 5+ Apps</div>
208
- <div style="margin-top:6px; color:#232323;">Deployed on Hugging Face Spaces</div>
209
  </div>
210
  </div>
211
  </div>
@@ -215,25 +321,32 @@ def create_interface():
215
  with gr.Row():
216
  with gr.Column():
217
  gr.HTML(f"""
218
- <div style="background:#FFF; border-radius:10px; padding:15px;">
219
- <h2 style="color:#FFA500;">Let's Connect</h2>
220
- <div style="margin:14px 0;">
221
- <a href="{portfolio.profile['huggingface']}" target="_blank" style="display:inline-block;padding:10px 18px;margin:4px 8px 4px 0;background:#FFB733;color:#242424;border-radius:7px;font-weight:600;text-decoration:none;">πŸ€— HuggingFace</a>
222
- <a href="{portfolio.profile['linkedin']}" target="_blank" style="display:inline-block;padding:10px 18px;margin:4px 8px 4px 0;background:#4A90E2;color:#FFF;border-radius:7px;font-weight:600;text-decoration:none;">πŸ’Ό LinkedIn</a>
223
- <a href="mailto:{portfolio.profile['email']}" style="display:inline-block;padding:10px 18px;margin:4px 8px;background:#FF6B6B;color:#FFF;border-radius:7px;font-weight:600;text-decoration:none;">βœ‰οΈ Email</a>
 
 
 
 
 
 
224
  </div>
225
- <div style="color: #FFA500; font-size: 1.04rem; text-align: center; font-style: italic; margin-top: 14px;">
226
  "Building AI with consciousness, creating technology with soul"
227
- </div>
228
  </div>
229
  """)
 
230
  with gr.Column():
231
  gr.HTML("""
232
- <div style="background:#FFF;border-radius:10px;padding:15px;">
233
- <h2 style="color:#FFA500;">πŸ“„ Download Resume</h2>
234
- <div style="margin-bottom:12px; color:#232323;">
235
  Get my complete resume with detailed project information and achievements.
236
- </div>
237
  </div>
238
  """)
239
  resume_file = gr.File(label="Resume", value="resume_sreelekha_putta.pdf", interactive=False)
@@ -242,5 +355,5 @@ def create_interface():
242
 
243
  if __name__ == "__main__":
244
  demo = create_interface()
245
- print("πŸš€ Launching Sreelekha Putta's Portfolio – consistent, clear visibility on all screens!")
246
  demo.launch(share=True)
 
15
  }
16
 
17
  self.about = """
18
+ Hi, I'm <strong style="color: #FFA500;">Sreelekha</strong>, a passionate <strong>AI/ML enthusiast, innovator, and problem solver</strong>
19
+ currently in my final year of B.Tech. My journey blends technical skills with creativityβ€”I love building AI-powered tools that
20
+ make life simpler, meaningful, and even spiritual.
21
  <br><br>
22
+ I've worked as an <strong style="color: #FFC069;">AI Intern at Spectov</strong> and an <strong style="color: #FFC069;">AI Tools Expert Intern at Website Makers</strong>,
23
+ gaining hands-on experience in <strong>Generative AI, NLP, and Machine Learning applications</strong>. Alongside, I've developed unique projects like:
24
  <br><br>
25
+ β€’ <strong style="color: #87CEEB;">Idealyze</strong> – an AI startup validator with 85% accuracy<br>
26
+ β€’ <strong style="color: #87CEEB;">WiseVerse</strong> – a Bhagavad Gita-based AI chatbot with 95% accuracy<br>
27
+ β€’ <strong style="color: #87CEEB;">DivineLoop</strong> and <strong style="color: #87CEEB;">AvatarVerse</strong> – creative AI solutions<br>
28
+ β€’ <strong style="color: #87CEEB;">GenDoc AI</strong> – an AI-driven code documentation tool
29
  <br><br>
30
+ With an <strong style="color: #FFA500;">8.0 CGPA</strong> and a strong foundation in <strong>Python, ML, Deep Learning, and AI frameworks</strong>,
31
+ I aim to grow into an <strong>AI Project Manager & Generative AI Engineer</strong>, bridging technology with real-world impact.
32
  <br><br>
33
+ Outside of tech, I find peace in spirituality and creativityβ€”I'm deeply inspired by the teachings of Lord Krishna,
34
+ which guide my mindset toward resilience and growth.
35
  <br><br>
36
+ <strong style="color: #FFD700;">My goal:</strong> To <strong>shape the future of AI</strong> while making technology more
37
+ <strong>human-centered, ethical, and impactful</strong>.
38
  """
39
 
40
  self.projects = [
 
52
  "achievements": ["WiseVerse chatbot with 95% accuracy, 40% engagement boost", "Idealyze validator with 85% accuracy, 50% better decisions", "AI tools & prompt engineering boosting efficiency by 35%"]}
53
  ]
54
 
55
+ def create_css(self):
56
+ # Forces off-white text and contrast for all themes/modes.
57
+ return """
58
+ <style>
59
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
60
+ *, *::before, *::after {
61
+ color: #F4F4F9 !important;
62
+ text-shadow: none !important;
63
+ box-sizing: border-box;
64
+ }
65
+ /* Background always visible */
66
+ body, .gradio-container {
67
+ font-family: 'Inter', sans-serif !important;
68
+ background: url('https://www.alldesigncreative.com/wp-content/uploads/2019/09/new-glitter-particles-black-screen-background-video-effect.png') no-repeat center center fixed !important;
69
+ background-size: cover !important;
70
+ color: #F4F4F9 !important;
71
+ margin: 0; padding: 0;
72
+ }
73
+ /* Always use readable cards */
74
+ .profile-header,
75
+ .card,
76
+ .project-card,
77
+ .stat-box,
78
+ .tech-tag,
79
+ .badge {
80
+ color: #F4F4F9 !important;
81
+ background: rgba(30,30,40,0.90) !important;
82
+ border-radius: 12px; border: none;
83
+ }
84
+ .profile-name { font-size: 2.5rem; font-weight: 700; color: #FFD700 !important;}
85
+ .profile-img {
86
+ width: 180px; height: 180px; border-radius: 50%;
87
+ border: 5px solid #a1c5ff; object-fit: cover;
88
+ box-shadow: 0 8px 20px rgba(0,0,0,0.5);
89
+ display: block; margin: 0 auto;
90
+ }
91
+ .badge {
92
+ background: rgba(255,255,255,0.16); padding: 8px 16px;
93
+ border-radius: 20px; display: inline-block; margin: 5px;
94
+ color: #F4F4F9 !important;
95
+ font-weight: 600;
96
+ }
97
+ .card-title {
98
+ color: #FFA500 !important;
99
+ font-size: 1.4rem;
100
+ font-weight: 700;
101
+ }
102
+ .project-card { border: 1px solid rgba(255,200,100,0.25); margin: 10px 0;}
103
+ .btn-primary {
104
+ background: linear-gradient(45deg, #FFA500, #FF6B6B);
105
+ color: #F4F4F9 !important; padding: 10px 20px; border-radius: 20px;
106
+ text-decoration: none; font-weight: 700; display: inline-block;
107
+ box-shadow: 1px 1px 6px rgba(255,107,107,0.65);
108
+ }
109
+ .btn-primary:hover {
110
+ background: linear-gradient(45deg, #FFB733, #FF4B4B);
111
+ color: #fff !important;
112
+ }
113
+ .tech-tag {
114
+ background: rgba(135,206,235,0.22);
115
+ color: #F4F4F9 !important;
116
+ padding: 3px 8px;
117
+ border-radius: 8px;
118
+ font-size: 0.78rem;
119
+ display: inline-block;
120
+ margin: 2px;
121
+ font-weight: 600;
122
+ }
123
+ /* Mobile force off-white */
124
+ @media (max-width: 700px) {
125
+ body, .gradio-container, .badge, .card, .card-title, .project-card, .stat-box, .tech-tag, .btn-primary, .profile-header, * {
126
+ color: #F4F4F9 !important;
127
+ text-shadow: none !important;
128
+ background: rgba(30,30,40,0.90) !important;
129
+ }
130
+ .btn-primary, .badge { color: #ffd700 !important; }
131
+ }
132
+ </style>
133
+ """
134
+
135
  def create_header(self):
136
  return f"""
137
+ {self.create_css()}
138
+ <div class="profile-header">
139
+ <div style="display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center;">
140
+ <div style="flex: 1; min-width: 300px; text-align: center;">
141
+ <h1 class="profile-name">{self.profile['name']}</h1>
142
+ <p style="font-size: 1.3rem; margin-bottom: 15px; color: #FFD700;">{self.profile['title']}</p>
143
+ <div>
144
+ <span class="badge">πŸ“ {self.profile['location']}</span>
145
+ <span class="badge">πŸ“ž {self.profile['phone']}</span>
146
+ <span class="badge">βœ‰ {self.profile['email']}</span>
147
+ </div>
148
+ <div style="margin-top: 15px;">
149
+ <span class="badge">πŸŽ“ B.Tech IT(AI/ML) | CGPA: {self.profile['cgpa']}</span>
150
+ </div>
151
+ </div>
152
+ </div>
153
  </div>
154
  """
155
 
156
  def create_about(self):
157
  return f"""
158
+ <div class="card">
159
+ <h2 class="card-title">πŸ‘€ About Me</h2>
160
+ <p style="line-height: 1.8; font-size: 1.05rem;">
161
+ {self.about}
162
+ </p>
163
  </div>
164
  """
165
 
 
170
  fig = go.Figure()
171
  fig.add_trace(go.Scatterpolar(
172
  r=values + [values[0]], theta=categories + [categories[0]],
173
+ fill='toself', fillcolor='rgba(255, 165, 0, 0.3)',
174
+ line_color='#FFA500', line_width=2, marker=dict(size=6, color='#FF6B6B')
175
  ))
176
  fig.update_layout(
177
  polar=dict(
178
+ radialaxis=dict(visible=True, range=[0, 100], tickfont=dict(color='#FFD700'), gridcolor='rgba(255,255,255,0.22)'),
179
+ angularaxis=dict(tickfont=dict(color='#FFD700'), gridcolor='rgba(255,255,255,0.22)')
180
  ),
181
+ paper_bgcolor='rgba(0,0,0,0)', plot_bgcolor='rgba(0,0,0,0)',
182
  title=dict(text="Technical & Soft Skills", font=dict(size=18, color='#FFA500')),
183
+ width=600, height=500, showlegend=False
 
184
  )
185
  return fig
186
 
187
  def create_metrics_chart(self):
188
  metrics = ['WiseVerse', 'Idealyze', 'User Engagement', 'Efficiency Boost']
189
  values = [95, 85, 40, 35]
 
190
  fig = go.Figure(data=[go.Bar(
191
  x=metrics, y=values,
192
  marker_color=['#FFA500', '#FF6B6B', '#00FF87', '#87CEEB'],
193
  text=[f'{v}%' for v in values], textposition='auto',
194
+ textfont=dict(color='#FFD700')
195
  )])
196
  fig.update_layout(
197
  title=dict(text="Key Project Metrics", font=dict(size=18, color='#FFA500')),
198
+ xaxis=dict(title="Projects/Metrics", tickfont=dict(color='#FFD700'), gridcolor='rgba(255,255,255,0.14)'),
199
+ yaxis=dict(title="Percentage", tickfont=dict(color='#FFD700'), gridcolor='rgba(255,255,255,0.14)'),
200
+ paper_bgcolor='rgba(0,0,0,0)', plot_bgcolor='rgba(0,0,0,0)',
201
+ width=600, height=400
202
  )
203
  return fig
204
 
205
  def create_interface():
206
  portfolio = Portfolio()
207
+ css = """
208
+ .gradio-container { background: linear-gradient(135deg, #0f0f0f, #1a1a1a) !important; }
209
+ .gr-button { background: linear-gradient(45deg, #FFA500, #FF6B6B) !important; color: #F4F4F9 !important; }
210
+ """
211
+ with gr.Blocks(css=css, title="Sreelekha Putta - AI Engineer Portfolio") as demo:
212
  with gr.Row():
213
  with gr.Column(scale=1):
214
  profile_img = gr.Image(
215
  value="profile.jpg",
216
  label="Profile Picture",
217
  show_label=False,
218
+ height=200,
219
+ width=200,
220
  type="filepath",
221
+ container=True,
222
+ elem_classes=["profile-image-container"]
223
  )
224
+
225
  gr.HTML(portfolio.create_header())
226
+
227
  with gr.Tabs():
228
  with gr.Tab("πŸ‘€ About"):
229
  gr.HTML(portfolio.create_about())
230
+ with gr.Row():
231
+ gr.HTML("""
232
+ <div class="card">
233
+ <h2 class="card-title">πŸŽ“ Education</h2>
234
+ <div style="background: rgba(255,165,0,0.14); padding: 15px; border-radius: 10px;">
235
+ <h3 style="color: #FFD700;">B.Tech in Information Technology(AI/ML Specialization)</h3>
236
+ <p style="color: #F4F4F9;">JNTUH College of Engineering Jagitial</p>
237
+ <p style="color: #FFD700;">2022 – 2026 | CGPA: 8.0</p>
238
+ </div>
239
  </div>
240
  """)
241
+
242
  with gr.Tab("πŸ’Ό Experience"):
243
+ exp_html = '<div class="card"><h2 class="card-title">Professional Experience</h2>'
 
244
  for exp in portfolio.experience:
245
  exp_html += f"""
246
+ <div class="project-card">
247
+ <h3 style="color: #FFD700;">{exp['role']}</h3>
248
+ <p style="color: #F4F4F9;">{exp['company']} | {exp['duration']}</p>
249
+ <ul style="color: #F4F4F9; margin-top: 10px;">
250
  """
251
  for ach in exp['achievements']:
252
+ exp_html += f'<li style="margin: 5px 0;">⚑ {ach}</li>'
253
  exp_html += '</ul></div>'
254
  exp_html += '</div>'
255
  gr.HTML(exp_html)
256
  gr.Plot(portfolio.create_metrics_chart())
257
 
258
  with gr.Tab("πŸš€ Projects"):
259
+ proj_html = '<div class="card"><h2 class="card-title">Featured Projects</h2>'
260
  for proj in portfolio.projects:
261
+ tags = ''.join([f'<span class="tech-tag">{t}</span>' for t in proj['tech']])
262
  proj_html += f"""
263
+ <div class="project-card">
264
+ <h3 style="color: #FFD700; margin-bottom: 10px;">{proj['name']}</h3>
265
+ <p style="color: #F4F4F9; margin-bottom: 10px;">{proj['desc']}</p>
266
+ <div style="margin-bottom: 10px;">{tags}</div>
267
+ <a href="{proj['link']}" target="_blank" class="btn-primary">View Project β†’</a>
268
  </div>
269
  """
270
  proj_html += '</div>'
 
276
  gr.Plot(portfolio.create_skills_chart())
277
  with gr.Column():
278
  gr.HTML("""
279
+ <div class="card">
280
+ <h2 class="card-title">Technical Skills</h2>
281
+ <p style="color: #F4F4F9; line-height: 2;">
282
+ <strong style="color: #FFD700;">Programming:</strong> Python, C, Java, SQL<br>
283
+ <strong style="color: #FFD700;">AI/ML:</strong> Machine Learning, Deep Learning, NLP, Generative AI, LLMs<br>
284
+ <strong style="color: #FFD700;">Frameworks:</strong> TensorFlow, PyTorch, Hugging Face, Flask<br>
285
+ <strong style="color: #FFD700;">Tools:</strong> Git/GitHub, NumPy, Pandas, Matplotlib, Seaborn<br>
286
+ <strong style="color: #FFD700;">Specialization:</strong> Prompt Engineering, Full-stack AI Deployment
287
+ </p>
288
+ <h2 class="card-title" style="margin-top: 20px;">Soft Skills</h2>
289
+ <p style="color: #F4F4F9; line-height: 2;">
290
+ β€’ <strong style="color: #00FF87;">Leadership</strong> – Led Cultural Night 2025 (1000+ audience)<br>
291
+ β€’ <strong style="color: #00FF87;">Communication</strong> – Exceptional presentation & public speaking<br>
292
+ β€’ <strong style="color: #00FF87;">Problem Solving</strong> – Creative AI solution design<br>
293
+ β€’ <strong style="color: #00FF87;">Team Collaboration</strong> – Cross-functional project delivery<br>
294
+ β€’ <strong style="color: #00FF87;">Project Management</strong> – Planning & execution excellence
295
+ </p>
296
  </div>
297
  """)
298
 
299
  with gr.Tab("πŸ† Achievements"):
300
  gr.HTML("""
301
+ <div class="card">
302
+ <h2 class="card-title">Key Achievements</h2>
303
+ <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px;">
304
+ <div class="stat-box">
305
+ <div class="stat-number">πŸ… Top Intern</div>
306
+ <p style="margin-top: 8px;">Recognized for AI innovation at Website Makers (2025)</p>
307
  </div>
308
+ <div class="stat-box">
309
+ <div class="stat-number">🎀 1000+</div>
310
+ <p style="margin-top: 8px;">Hosted Cultural Night 2025 at JNTUH</p>
311
  </div>
312
+ <div class="stat-box">
313
+ <div class="stat-number">πŸš€ 5+ Apps</div>
314
+ <p style="margin-top: 8px;">Deployed on Hugging Face Spaces</p>
315
  </div>
316
  </div>
317
  </div>
 
321
  with gr.Row():
322
  with gr.Column():
323
  gr.HTML(f"""
324
+ <div class="card">
325
+ <h2 class="card-title">Let's Connect</h2>
326
+ <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin: 20px 0;">
327
+ <a href="{portfolio.profile['huggingface']}" target="_blank" class="btn-primary" style="text-align: center;">
328
+ πŸ€— HuggingFace
329
+ </a>
330
+ <a href="{portfolio.profile['linkedin']}" target="_blank" class="btn-primary" style="text-align: center;">
331
+ πŸ’Ό LinkedIn
332
+ </a>
333
+ <a href="mailto:{portfolio.profile['email']}" class="btn-primary" style="text-align: center;">
334
+ βœ‰ Email
335
+ </a>
336
  </div>
337
+ <p style="color: #FFA500; font-size: 1.2rem; text-align: center; font-style: italic; margin-top: 20px;">
338
  "Building AI with consciousness, creating technology with soul"
339
+ </p>
340
  </div>
341
  """)
342
+
343
  with gr.Column():
344
  gr.HTML("""
345
+ <div class="card">
346
+ <h2 class="card-title">πŸ“„ Download Resume</h2>
347
+ <p style="margin-bottom: 15px;">
348
  Get my complete resume with detailed project information and achievements.
349
+ </p>
350
  </div>
351
  """)
352
  resume_file = gr.File(label="Resume", value="resume_sreelekha_putta.pdf", interactive=False)
 
355
 
356
  if __name__ == "__main__":
357
  demo = create_interface()
358
+ print("πŸš€ Launching Sreelekha Putta's Portfolio with improved white text everywhere...")
359
  demo.launch(share=True)