Hugging Face

Building AI Apps with Hugging Face Spaces and Gradio

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Hugging Face

Building AI Apps with Hugging Face Spaces and Gradio

John Whitworth

Instructor: John Whitworth

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

6 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

6 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Fine-Tuning: Fine-tune a pre-trained transformer model using a custom dataset.

  • Interactive AI Applications: Build interactive AI applications using Gradio.

  • Deployment & Programmatic Access: Deploy applications to Hugging Face Spaces and query deployed apps programmatically.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

June 2026

Assessments

5 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 4 modules in this course

Fine-tuning sounds like the answer to everything — until you realize the dataset wasn’t ready, the training config was wrong, and you’ve wasted hours of compute. This module teaches the complete customization workflow: load a dataset from the Hub, preprocess it with the right tokenization strategy, fine-tune a pre-trained model with the Trainer API, evaluate with real metrics, and publish the result to the Hub with a model card.

What's included

5 videos2 readings1 assignment1 ungraded lab

A model stuck in a notebook is a model nobody uses. Gradio turns inference into an interactive application — first with the simplicity of gr.Interface, then with the structural control of gr.Blocks. This module teaches you to build both, and to know when each is the right tool.

What's included

3 videos1 reading1 assignment1 ungraded lab

Users expect chat, not batch processing. gr.ChatInterface handles the conversation UI, but the engineering decisions — streaming, message formatting, multi-turn context management — determine whether the chatbot feels responsive or broken. This module teaches you to build production-quality conversational and real-time AI applications.

What's included

3 videos1 reading1 assignment1 ungraded lab

An app on your laptop is a prototype. An app on Spaces is a product. Deploy your chatbot using the git-based workflow, configure ZeroGPU for dynamic GPU allocation, manage API tokens as secrets, and then go further: use the Gradio Python client to query your deployed app programmatically, turning a UI into a reusable API endpoint.

What's included

4 videos2 readings2 assignments1 ungraded lab

Instructor

John Whitworth
Hugging Face
30 Courses3,545 learners

Offered by

Hugging Face

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions