🚀 Master the language of AI with our brand new course: "Prompt Engineering for Everyone" Learn more

Offered By: IBM

Bring your Machine Learning model to life with Gradio

Are you a Machine Learning practitioner who has done tons of projects in Jupyter notebooks and now wants to be able to quickly deploy the trained models and share delightful results online with other people? This guided project has got you covered! Using the Gradio framework, you can build demos or interactive apps of your Machine Learning models, APIs, or Data Science workflows and share them, all in Python.

Continue reading

Guided Project

Open Source

127 Enrolled
4.6
(10 Reviews)

At a Glance

Are you a Machine Learning practitioner who has done tons of projects in Jupyter notebooks and now wants to be able to quickly deploy the trained models and share delightful results online with other people? This guided project has got you covered! Using the Gradio framework, you can build demos or interactive apps of your Machine Learning models, APIs, or Data Science workflows and share them, all in Python.

Why you should do this Guided Project


Students and professionals who practice Machine Learning without sufficient knowledge and experience in front-end and back-end software development often find it hard to demonstrate their Machine Learning models online to others. How do we enable more and more Machine Learning practitioners to comfortably and efficiently showcase their amazing work to the public?


Here is an example of a simple, deployed text-generation app: sampletext (2).png 149 KB

Here comes Gradio, a free and open-source Python library that helps you create interactive UI for your Machine Learning models in a quick and easy manner. It is low-code, meaning it doesn't require all the knowledge that a software engineer has for deploying the ML models and generating the user interface. It abstracts away the nitty-gritty details under the hood and allows you to play with the models interactively in your web browser by just typing or uploading your text, images, or videos.

You can also host the demos of your ML models created by Gradio in the Hugging Face Space so that your finished models no longer lie idle in, for example, your Jupyter notebooks.

A Look at the Project Ahead


  • Understand what Gradio does.
  • Practice building the Gradio interface.
  • Design components such as the input and output of your Gradio app.
  • Build a demo of a text-generation model.

What You'll Need


You just need a web browser!  Basic Python programming knowledge is recommended but it is not required. Everything else is provided to you via the IBM Skills Network Labs environment, where you will have access to the Cloud IDE and Python runtimes that we offer as part of the IBM Skills Network Labs environment. Remember that the IBM Skills Network Labs environment comes with many things pre-installed (e.g. Docker) to save them the hassle of setting everything up. Also note that this platform works best with current versions of Chrome, Edge, Firefox, Internet Explorer or Safari.

Estimated Effort

35 Minutes

Level

Beginner

Skills You Will Learn

API, Gradio, Machine Learning, Model Deployment, Python

Language

English

Course Code

GPXX0UV8EN

Tell Your Friends!

Saved this page to your clipboard!

Sign up to our newsletter

Stay connected with the latest industry news and knowledge!