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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
import os
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
custom_css = """
|
| 6 |
+
.gradio-container {
|
| 7 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 8 |
+
}
|
| 9 |
+
.portfolio-header {
|
| 10 |
+
text-align: center;
|
| 11 |
+
padding: 2rem 0;
|
| 12 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 13 |
+
color: white;
|
| 14 |
+
border-radius: 10px;
|
| 15 |
+
margin-bottom: 2rem;
|
| 16 |
+
}
|
| 17 |
+
.section {
|
| 18 |
+
margin: 2rem 0;
|
| 19 |
+
padding: 1.5rem;
|
| 20 |
+
background: #f8f9fa;
|
| 21 |
+
border-radius: 8px;
|
| 22 |
+
border-left: 4px solid #667eea;
|
| 23 |
+
}
|
| 24 |
+
.skill-tag {
|
| 25 |
+
display: inline-block;
|
| 26 |
+
padding: 0.5rem 1rem;
|
| 27 |
+
margin: 0.3rem;
|
| 28 |
+
background: #667eea;
|
| 29 |
+
color: white;
|
| 30 |
+
border-radius: 20px;
|
| 31 |
+
font-size: 0.9rem;
|
| 32 |
+
}
|
| 33 |
+
.tech-tag {
|
| 34 |
+
display: inline-block;
|
| 35 |
+
padding: 0.4rem 0.8rem;
|
| 36 |
+
margin: 0.2rem;
|
| 37 |
+
background: #764ba2;
|
| 38 |
+
color: white;
|
| 39 |
+
border-radius: 15px;
|
| 40 |
+
font-size: 0.85rem;
|
| 41 |
+
}
|
| 42 |
+
.project-card {
|
| 43 |
+
padding: 1.5rem;
|
| 44 |
+
margin: 1rem 0;
|
| 45 |
+
background: white;
|
| 46 |
+
border-radius: 8px;
|
| 47 |
+
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
| 48 |
+
border-top: 3px solid #667eea;
|
| 49 |
+
}
|
| 50 |
+
"""
|
| 51 |
+
|
| 52 |
+
def create_portfolio():
|
| 53 |
+
profile_image_path = None
|
| 54 |
+
possible_image_paths = [
|
| 55 |
+
"IMG_4098.JPG", "IMG_4098.jpg", "IMG_4098.jpeg",
|
| 56 |
+
"profile.jpg", "profile.jpeg", "profile.png",
|
| 57 |
+
"dp.jpg", "dp.jpeg", "dp.png",
|
| 58 |
+
"portfolio.jpg", "portfolio.jpeg", "portfolio.png"
|
| 59 |
+
]
|
| 60 |
+
|
| 61 |
+
# Check for any JPG/JPEG/PNG files in current directory
|
| 62 |
+
for path in possible_image_paths:
|
| 63 |
+
if os.path.exists(path):
|
| 64 |
+
profile_image_path = path
|
| 65 |
+
break
|
| 66 |
+
|
| 67 |
+
# If still not found, search for any image file
|
| 68 |
+
if not profile_image_path:
|
| 69 |
+
for file in os.listdir("."):
|
| 70 |
+
if file.lower().endswith(('.jpg', '.jpeg', '.png', '.gif', '.webp')):
|
| 71 |
+
profile_image_path = file
|
| 72 |
+
break
|
| 73 |
+
|
| 74 |
+
if not profile_image_path:
|
| 75 |
+
profile_image_path = None
|
| 76 |
+
|
| 77 |
+
with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as portfolio:
|
| 78 |
+
|
| 79 |
+
gr.HTML("""
|
| 80 |
+
<div class="portfolio-header">
|
| 81 |
+
<h1>AI Engineer & Founding Engineer</h1>
|
| 82 |
+
<p style="font-size: 1.2rem; margin-top: 0.5rem;">Building Production-Ready AI Systems</p>
|
| 83 |
+
</div>
|
| 84 |
+
""")
|
| 85 |
+
|
| 86 |
+
with gr.Row():
|
| 87 |
+
with gr.Column(scale=1):
|
| 88 |
+
if profile_image_path:
|
| 89 |
+
gr.Image(value=profile_image_path, label="Profile Picture", height=300, show_label=True)
|
| 90 |
+
else:
|
| 91 |
+
gr.Image(label="Profile Picture", height=300, show_label=True, value=None)
|
| 92 |
+
|
| 93 |
+
with gr.Column(scale=2):
|
| 94 |
+
# About Me Section
|
| 95 |
+
gr.Markdown("""
|
| 96 |
+
## About Me
|
| 97 |
+
|
| 98 |
+
I am an AI Engineer and Founding Engineer with strong experience in building real-world AI systems end-to-end — from data, model development, infrastructure, to deployment. I specialize in creating production-ready ML pipelines, LLM applications, agent systems, and scalable backend services.
|
| 99 |
+
|
| 100 |
+
I blend machine learning, software engineering, and product thinking to turn ideas into working AI solutions.
|
| 101 |
+
""")
|
| 102 |
+
|
| 103 |
+
# Core Skills Section
|
| 104 |
+
gr.Markdown("""
|
| 105 |
+
## Core Skills
|
| 106 |
+
""")
|
| 107 |
+
|
| 108 |
+
with gr.Tabs():
|
| 109 |
+
with gr.Tab("Machine Learning / Deep Learning"):
|
| 110 |
+
gr.Markdown("""
|
| 111 |
+
- **Model training, fine-tuning & evaluation**
|
| 112 |
+
- **NLP, CV, Multimodal systems**
|
| 113 |
+
- **RAG, embeddings**
|
| 114 |
+
- **Deployment on GPU instances (Huggingface)**
|
| 115 |
+
- **MLOps (TGI, vLLM, Docker)**
|
| 116 |
+
""")
|
| 117 |
+
|
| 118 |
+
with gr.Tab("LLM Engineering"):
|
| 119 |
+
gr.Markdown("""
|
| 120 |
+
- **Prompt engineering**
|
| 121 |
+
- **Agentic workflows**
|
| 122 |
+
- **Custom tools & function calling**
|
| 123 |
+
- **Fine-tuning models (LoRA, QLoRA)**
|
| 124 |
+
- **Building AI assistants & APIs**
|
| 125 |
+
- **RAG pipelines with structured knowledge**
|
| 126 |
+
""")
|
| 127 |
+
|
| 128 |
+
with gr.Tab("Software / Backend Engineering"):
|
| 129 |
+
gr.Markdown("""
|
| 130 |
+
- **Node.js (TypeScript), Python**
|
| 131 |
+
- **FAST APIs**
|
| 132 |
+
- **Microservices architecture**
|
| 133 |
+
- **Authentication, payments, dashboards**
|
| 134 |
+
- **Real-time systems, event queues**
|
| 135 |
+
""")
|
| 136 |
+
|
| 137 |
+
with gr.Tab("AI Infrastructure"):
|
| 138 |
+
gr.Markdown("""
|
| 139 |
+
- **Docker & containerization**
|
| 140 |
+
- **TGI / vLLM inference servers**
|
| 141 |
+
- **Load balancing & scaling**
|
| 142 |
+
- **On-prem & cloud GPU orchestration**
|
| 143 |
+
""")
|
| 144 |
+
|
| 145 |
+
# Technologies Section
|
| 146 |
+
gr.Markdown("""
|
| 147 |
+
## Technologies I Use
|
| 148 |
+
""")
|
| 149 |
+
|
| 150 |
+
with gr.Row():
|
| 151 |
+
with gr.Column():
|
| 152 |
+
gr.Markdown("""
|
| 153 |
+
### Languages
|
| 154 |
+
- **Python**
|
| 155 |
+
- **TypeScript (Node.js)**
|
| 156 |
+
""")
|
| 157 |
+
|
| 158 |
+
with gr.Column():
|
| 159 |
+
gr.Markdown("""
|
| 160 |
+
### Frameworks & Tools
|
| 161 |
+
- **PyTorch**
|
| 162 |
+
- **Hugging Face**
|
| 163 |
+
- **Transformers**
|
| 164 |
+
- **Gradio**
|
| 165 |
+
- **FastAPI / Express**
|
| 166 |
+
- **Docker**
|
| 167 |
+
- **GitHub Actions**
|
| 168 |
+
- **Nginx**
|
| 169 |
+
""")
|
| 170 |
+
|
| 171 |
+
# Featured Projects Section
|
| 172 |
+
gr.Markdown("""
|
| 173 |
+
## Featured Projects
|
| 174 |
+
""")
|
| 175 |
+
|
| 176 |
+
with gr.Column():
|
| 177 |
+
# Project 1: Zurri
|
| 178 |
+
with gr.Group():
|
| 179 |
+
gr.Markdown("""
|
| 180 |
+
### Zurri — AI Agent Marketplace & Model Proxy
|
| 181 |
+
|
| 182 |
+
**Role:** Founding Engineer
|
| 183 |
+
**Tech Stack:** Node.js, TypeScript, Docker, TGI, HuggingFace models
|
| 184 |
+
|
| 185 |
+
**Highlights:**
|
| 186 |
+
- Built scalable API proxy for creators to sell AI models/agents
|
| 187 |
+
- Integration with Stripe & Flutterwave
|
| 188 |
+
- Dynamic UI rendering for purchased agents
|
| 189 |
+
- Backend architecture and optimization
|
| 190 |
+
- Model access rate-limiting, security, and analytics
|
| 191 |
+
""")
|
| 192 |
+
|
| 193 |
+
# Project 2: Think Inclusion
|
| 194 |
+
with gr.Group():
|
| 195 |
+
gr.Markdown("""
|
| 196 |
+
### Think Inclusion — AI Sign Language + Speech Translator
|
| 197 |
+
|
| 198 |
+
**Role:** Architecture Designer
|
| 199 |
+
**Status:** Model in production
|
| 200 |
+
**Tech Stack:** Deep learning, computer vision, transformers
|
| 201 |
+
|
| 202 |
+
**Highlights:**
|
| 203 |
+
- Real-time translation of sign language + speech
|
| 204 |
+
- Multimodal pipeline design
|
| 205 |
+
- Optimized for speed and accuracy
|
| 206 |
+
""")
|
| 207 |
+
|
| 208 |
+
# Project 3: AI Agriculture Intelligence System
|
| 209 |
+
with gr.Group():
|
| 210 |
+
gr.Markdown("""
|
| 211 |
+
### AI Agriculture Intelligence System
|
| 212 |
+
|
| 213 |
+
**Role:** STT/TTS engineer
|
| 214 |
+
**Models Used:**
|
| 215 |
+
- NCAIR models
|
| 216 |
+
- Yarngpt
|
| 217 |
+
- Multi-model ecosystem
|
| 218 |
+
""")
|
| 219 |
+
|
| 220 |
+
# Footer
|
| 221 |
+
gr.Markdown("""
|
| 222 |
+
---
|
| 223 |
+
<div style="text-align: center; padding: 2rem; color: #666;">
|
| 224 |
+
<p>Built with Gradio</p>
|
| 225 |
+
</div>
|
| 226 |
+
""")
|
| 227 |
+
|
| 228 |
+
return portfolio
|
| 229 |
+
|
| 230 |
+
if __name__ == "__main__":
|
| 231 |
+
portfolio = create_portfolio()
|
| 232 |
+
portfolio.launch()
|
| 233 |
+
|
requirements.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
gradio
|
| 2 |
+
|