
Picture by Writer
# Introduction
An internet portfolio isn’t optionally available anymore. It’s normally the very first thing folks test once they wish to see what you possibly can truly do. Not your CV. Not your LinkedIn. Your work. In case you’re constructing issues as a developer, information scientist, ML engineer, designer, and even simply studying, a portfolio offers your initiatives a spot to dwell. And also you don’t want paid internet hosting to do it.
Hugging Face Areas is a kind of instruments folks overlook. It’s free, straightforward to deploy, and ok to host a clear private web site with dwell demos. You’ll be able to hold it easy or add interactive items if that matches your work. On this article, we are going to cowl what Hugging Face Areas is, why it’s nice for portfolios, and how one can deploy yours step-by-step.
# What’s Hugging Face Areas?
Hugging Face Areas is a platform that permits you to host net purposes instantly from a GitHub repository, making deployment easy and accessible even for inexperienced persons. Whereas it was initially designed to showcase machine studying demos, the platform has advanced considerably and now helps a variety of use circumstances, together with static web sites, Python-based purposes, interactive consumer interfaces, and totally useful AI-powered demos. You’ll be able to construct Areas utilizing:
- Static HTML/CSS/JS
- Gradio (Python UI framework)
- Streamlit
For portfolios, this flexibility is a big benefit. Let’s see step-by-step the best way to host your portfolio on Hugging Face Areas at no cost.
# Step 1: Making a Hugging Face Account
Go to Hugging Face and enroll.
# Step 2: Getting ready Your Portfolio
You’ll be able to select one of many following approaches:
// Choice A: Static Web site (HTML/CSS/JS)
Your folder would possibly appear to be:
portfolio/
│── index.html
│── model.css
│── script.js
// Choice B: Python-Based mostly Portfolio (Gradio / Streamlit)
This consists of information as:
# Step 3: Making a New Area
-
Click on New Area


This opens the next web page


-
Select:
- Proprietor: your username
- Area identify: e.g. my-portfolio
- License: MIT (really useful)
-
Choose SDK:
- Static for HTML, CSS, and JS portfolios
- Gradio for Python-based interactive portfolios
- Streamlit for information dashboards
-
After filling up, click on Create Area.


# Step 4: Importing or Connecting Your Code
You’ll be able to add information instantly or connect with a GitHub repository.
- For Static SDK, simply add index.html and belongings.
- For Gradio or Streamlit, guarantee:
- app.py exists
- necessities.txt lists dependencies
Hugging Face robotically builds and deploys your Area. For instance, since I chosen Gradio, I’ll click on create the app.py file:


After this, the next web page opens:


I’ll edit the app.py file as follows:
import gradio as gr
def contact_message(identify, message):
return f"Thanks {identify}! Your message has been acquired 😊"
with gr.Blocks(title="Eisha's Portfolio") as demo:
gr.Markdown(
"""
# 👋 Hello, I am Kanwal
### AI / ML Fanatic | Python Developer
Welcome to my portfolio!
I get pleasure from constructing AI-powered purposes and clear backend methods.
"""
)
gr.Markdown("## 🚀 Initiatives")
gr.Markdown(
"""
**🔹 PDF Parser with LangChain**
Customized PDF parsing with header/footer elimination and LLM integration.
**🔹 Case Similarity Finder (FYP)**
Finds related medical/authorized circumstances utilizing LLaMA-based embeddings.
**🔹 AI Chatbot Demo**
Conversational AI constructed utilizing Hugging Face fashions.
"""
)
gr.Markdown("## Resume")
gr.Markdown(
"[Download my resume](https://instance.com/resume.pdf)"
)
gr.Markdown("## Contact Me")
identify = gr.Textbox(label="Your Title")
message = gr.Textbox(label="Your Message", traces=3)
output = gr.Textbox(label="Response")
submit = gr.Button("Ship Message")
submit.click on(contact_message, inputs=[name, message], outputs=output)
gr.Markdown(
"""
---
🔗 **GitHub:** https://github.com/yourusername
🔗 **LinkedIn:** https://linkedin.com/in/yourprofile
"""
)
demo.launch()
After enhancing the app.py file, click on on Commit new file to foremost:


# Step 5: Your Portfolio is Reside
Now, on the identical web page, click on on App to view your portfolio.


Upon clicking, you possibly can see your portfolio:


Alternatively, you can even go to https://
- About Me part
- Initiatives with dwell demos
- Resume obtain
- Contact hyperlinks
- GitHub and LinkedIn
With Gradio, you possibly can flip this into an interactive expertise.
# Tricks to Make Your Portfolio Stand Out
-
Add Reside Demos:
- ML fashions
- Chatbots
- NLP instruments
- Knowledge visualizations
- Preserve It Light-weight: Free Areas have useful resource limits, so optimise belongings
- Use a Clear UI: Minimal design over flashy animations
- Add a README.md: Your Area web page exhibits README content material, so use it properly
# Last Ideas
Hugging Face Areas is greater than a demo platform. It’s a free, fashionable, and highly effective internet hosting answer for portfolios. In case your work entails code, information, or AI, internet hosting your portfolio on Areas immediately differentiates you from conventional static websites. Your portfolio shouldn’t simply say what you are able to do. It ought to present it dwell.
Kanwal Mehreen is a machine studying engineer and a technical author with a profound ardour for information science and the intersection of AI with drugs. She co-authored the e book “Maximizing Productiveness with ChatGPT”. As a Google Era Scholar 2022 for APAC, she champions range and educational excellence. She’s additionally acknowledged as a Teradata Range in Tech Scholar, Mitacs Globalink Analysis Scholar, and Harvard WeCode Scholar. Kanwal is an ardent advocate for change, having based FEMCodes to empower ladies in STEM fields.
