Spaces:
Running
Running
Update app.py
Browse files
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
|
|
|
|
|
|
|
| 19 |
<br><br>
|
| 20 |
-
I've
|
|
|
|
| 21 |
<br><br>
|
| 22 |
-
β’ <strong>Idealyze</strong> β an AI startup validator
|
| 23 |
-
β’ <strong>WiseVerse</strong> β a Bhagavad Gita-based AI chatbot
|
| 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>,
|
|
|
|
| 28 |
<br><br>
|
| 29 |
-
Outside of tech, I find peace in spirituality and creativityβI'm inspired by
|
|
|
|
| 30 |
<br><br>
|
| 31 |
-
<strong>My goal:</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 |
-
|
| 52 |
-
|
| 53 |
-
<div style=
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
</div>
|
| 59 |
"""
|
| 60 |
|
| 61 |
def create_about(self):
|
| 62 |
return f"""
|
| 63 |
-
<div
|
| 64 |
-
<h2
|
| 65 |
-
<
|
|
|
|
|
|
|
| 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.
|
| 77 |
-
line_color='#FFA500', line_width=2, marker=dict(size=6, color='#
|
| 78 |
))
|
| 79 |
fig.update_layout(
|
| 80 |
polar=dict(
|
| 81 |
-
radialaxis=dict(visible=True, range=[0, 100]),
|
| 82 |
-
angularaxis=dict(tickfont=dict(
|
| 83 |
),
|
|
|
|
| 84 |
title=dict(text="Technical & Soft Skills", font=dict(size=18, color='#FFA500')),
|
| 85 |
-
width=
|
| 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='#
|
| 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=
|
| 105 |
-
width=
|
| 106 |
)
|
| 107 |
return fig
|
| 108 |
|
| 109 |
def create_interface():
|
| 110 |
portfolio = Portfolio()
|
| 111 |
-
|
| 112 |
-
|
|
|
|
|
|
|
|
|
|
| 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=
|
| 120 |
-
width=
|
| 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.
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
<
|
| 132 |
-
<div style="
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
</div>
|
| 134 |
""")
|
|
|
|
| 135 |
with gr.Tab("πΌ Experience"):
|
| 136 |
-
exp_html = '<div
|
| 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
|
| 141 |
-
<h3 style="color
|
| 142 |
-
<
|
| 143 |
-
<ul style="margin-top:10px;
|
| 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
|
| 154 |
for proj in portfolio.projects:
|
| 155 |
-
tags = ''.join([f'<span
|
| 156 |
proj_html += f"""
|
| 157 |
-
<div
|
| 158 |
-
<h3 style="margin-bottom:
|
| 159 |
-
<
|
| 160 |
-
<div style="margin-bottom:
|
| 161 |
-
<a href="{proj['link']}" target="_blank"
|
| 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
|
| 174 |
-
<h2
|
| 175 |
-
<
|
| 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 |
-
</
|
| 182 |
-
<h2 style="margin-top:
|
| 183 |
-
<
|
| 184 |
-
β’ <strong>Leadership</strong> β Led Cultural Night 2025 (1000+ audience)<br>
|
| 185 |
-
β’ <strong>Communication</strong> β Exceptional presentation
|
| 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
|
| 189 |
-
</
|
| 190 |
</div>
|
| 191 |
""")
|
| 192 |
|
| 193 |
with gr.Tab("π Achievements"):
|
| 194 |
gr.HTML("""
|
| 195 |
-
<div
|
| 196 |
-
<h2
|
| 197 |
-
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(
|
| 198 |
-
<div
|
| 199 |
-
<div
|
| 200 |
-
<
|
| 201 |
</div>
|
| 202 |
-
<div
|
| 203 |
-
<div
|
| 204 |
-
<
|
| 205 |
</div>
|
| 206 |
-
<div
|
| 207 |
-
<div
|
| 208 |
-
<
|
| 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
|
| 219 |
-
<h2
|
| 220 |
-
<div style="margin:
|
| 221 |
-
<a href="{portfolio.profile['huggingface']}" target="_blank"
|
| 222 |
-
|
| 223 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
</div>
|
| 225 |
-
<
|
| 226 |
"Building AI with consciousness, creating technology with soul"
|
| 227 |
-
</
|
| 228 |
</div>
|
| 229 |
""")
|
|
|
|
| 230 |
with gr.Column():
|
| 231 |
gr.HTML("""
|
| 232 |
-
<div
|
| 233 |
-
<h2
|
| 234 |
-
<
|
| 235 |
Get my complete resume with detailed project information and achievements.
|
| 236 |
-
</
|
| 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
|
| 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)
|