Create web interfaces for your ML models in minutes. Deploy anywhere, share with anyone.
Gradio handles the frontend so you can focus on building. From prototypes to production-ready web apps.
One command to install. A few lines of Python to launch. No Javascript, CSS, or frontend experience required.
$ pip install gradio
Successfully installed gradio
$ python app.py
Running on http://127.0.0.1:7860
Input and output for any data type: Images, Audio, Video, 3D, Dataframes, and more.
Deploy to Hugging Face Spaces for free. Always online, auto-scaling, and shareable with a simple URL.
Create a public link to your machine learning demo running on your local computer in seconds. Great for showing clients or colleagues.
import gradio as gr
def greet(name):
return "Hello " + name + "!"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()
We love @Gradio.
It helped us scale to our first million users. Amazing and undervalued that Gradio can do this.
cc @_akhaliq
Gradio was love at first sight..so easy to use
Just tried out @Gradio and I am very impressed. Only took like 10mins to put together a #tts demo.
I love how easy is to build quick prototypes with @Gradio ⚡️ this one took me 45 minutes with no previous experience with the library
Spent the weekend prototyping LLM interfaces directly in Python. @gradio-app is a game changer for rapid UI development. Forget wrestling with JS/CSS; share your model in seconds. Thinking this unlocks serious iteration speed.
Apart from being very easy to use, one thing that I simply love about @Gradio is its Javascript client, which makes it easy to build a nice HTML frontend for Python applications. This integration makes me rank gradio high in my list of favorite Python libraries.
Just built a ️@Gradio app for a video related deep learning project.
I’m astonished by how simple it is to use & how elegant it looks! Lots and lots of great features & flexibility. Thanks for making this ❤
Honestly, without @Gradio, we would not be doing a real time AI trial. We have many other ideas for algorithms we want to test through clinical trials, and we know it's possible thanks to @Gradio.
Dear #MachineLearning twitter,
If you haven't typed:
$ pip install gradio
yet, now would be a damn good time.
Especially if you are working in computer vision & deploying models in the real world.