Free drops from my reelsYou're on 1 of 44 free drops.Every free thing I promise in a reel gets its own page like this one. The rest are one tap away.See all 44 →
REEL 46 · GRADIO

Build your first AI model.
Then put it online.

You do not need to train anything. You do not need JavaScript, a server, or a card. You borrow a model that is already trained, wrap it in five lines of Python, and you get a link anyone can open.

Every command on this page was run on a normal Windows laptop before it was written down.

WHO MADE IT

A Pakistani built the box.

Abubakar Abid

Abubakar Abid. Son of two Pakistani doctors, grew up in a small town in Wisconsin. In his PhD at Stanford he trained a model that reads heart scans, and the cardiologist he built it for could not run it. It was just code in a notebook.

So he built a web page the doctor could drop a scan into. That page became Gradio. His three roommates quit big tech to build it with him, and in late 2021 Hugging Face bought the company. He runs the Gradio team there now.

43,542 stars on GitHub1,000,000+ developers a monthfree and open source

Stars from the GitHub API, 16 Sep 2026. Monthly developers from Hugging Face's own post, April 2025. His story is from his thread of 11 Jan 2024 and the Paul & Daisy Soros Fellowship bio.

THE GUIDE

Four steps. About ten minutes.

Follow these in order. If you can open a terminal and you have Python installed, you can finish this.

1
Install two things

One gives you the model, one gives you the web page.

terminal
pip install gradio transformers torch
Transformers is Hugging Face's library of models other people already trained. Torch is what runs them. Gradio is the part that turns your code into a page.
2
Borrow a model that already works

This is the part people think is hard. It is one line. You are not training anything, you are downloading a model someone else trained and calling it.

python
from transformers import pipeline

clf = pipeline("sentiment-analysis")
print(clf("honestly this is the best thing i have built"))
Run it once. The first time it downloads the model, which takes a minute. After that it is instant. It prints POSITIVE with a confidence score.
3
Wrap it in five lines

Save this as app.py and run python app.py. A web page opens with an input box, a button, and the output, all built for you.

app.py
import gradio as gr
from transformers import pipeline

clf = pipeline("sentiment-analysis")

def check(text):
    r = clf(text)[0]
    return {r["label"]: r["score"]}

demo = gr.Interface(fn=check, inputs="text", outputs="label")
demo.launch()
That is the whole app. gr.Interface takes your function, what goes in, and what comes out, and builds the page from those three things.
The finished app: a text box, a Submit button, and the model answering POSITIVE at 100 percent

This is that exact code running. Nothing added.

4
Put it online

Two ways. The first is instant and lasts a week. The second is permanent and free.

a temporary link, right now
demo.launch(share=True)
Change that one line and run it again. You get a public address anyone can open. The model still runs on your laptop, so it only works while your laptop is on, and the link expires after a week.
permanent and free
gradio deploy
Run this in the same folder. It asks a few questions and puts your app on Hugging Face Spaces, which hosts it free and keeps it running after you close your laptop. You need a free Hugging Face account.
That is it. You now have a model on the internet with a link you can send to anyone. Put it in your CV, send it to a recruiter, show it in an interview.
WHAT RUNS ON IT

You have already used this.

These are not small projects. Every one of them is a Gradio page.

Star counts read from each repository, 15 Sep 2026.

BEFORE YOU START

Two honest things.

This is not training a model. You are using one someone else trained, which is what almost every real product does too. Training your own from nothing is a different job and you do not need it to ship something people can click.

The free hosting is a small machine. A Hugging Face Space on the free tier runs on a basic CPU and sleeps when nobody is using it. It wakes up when someone opens the link. Fine for a demo, a portfolio piece, or a final year project. Not for a business with real traffic.

One trap. The first run downloads the model, so it feels slow and looks broken. It is not. Wait for it to finish, then it is fast every time after.

If your model is sitting in a notebook nobody can click, that is not a you problem.

A Pakistani guy had it too. He built the box, and he gave it away for free.

reel #46keyword GRADIO@rahmanbuilds
Keep going

More free drops from my reels

See all 44 drops →
Reel #55 · comment PAPERSFree past papers for all of Pakistan. Built in one day./papers → Reel #54 · comment FREELANCEHafiz Basit Ali. Freelancing, taught free./freelance → Post #8 · comment BANAO5 apps Pakistan needs. Nobody built them right./banao →
Rahman waving
Who made this

Hi, I'm Rahman.

I've been building things people pay for since I was 10. Online game servers first, then $250K+ earned in tech. Now I build with AI in public, and every free thing from my reels lands on a page like this.

Questions? Ask in the Discord.

Free tools, honest feedback on your work, and people who answer.

Join free
Know someone who needs this? Send them the page.
rahmanbuilds · free, no sign-up