Make Quick GUI’s With Python!

Manpreet Singh
2 min readJul 12, 2023

Welcome back! Python is one of the best programming languages to use, so, let’s take a look at one of the coolest ways to make GUI’s quickly with this language! This specific method is by using the Gradio package! If you want to jump straight to this package, you can check out their GitHub page below:

This specific package allows us to create UI’s for our machine learning models in minutes! Here are some of the examples of different UI elements created within this package:

If you want to start using this package, you can use the following pip command to get started:

pip install gradio

Once installed, you can start building out your Gradio project! If you want to start a basic project, you can use the following starter code:

import gradio as gr

def greet(name):
return "Hello " + name + "!"

demo = gr.Interface(fn=greet, inputs="text", outputs="text")


This will output the following UI:

There are tons of examples of these types of projects on their GitHub, so I would highly urge you to check out their examples within this repository (linked above) to view all of the walkthroughs they have! There you have it! Do you plan on checking this project out? I would love to hear your thoughts about this!

Thanks So Much!

Feel free to watch my videos on YouTube or connect via Twitter if you have any thoughts or questions:

Thanks so much for your support!