Demos

Here are some examples of what you can build with Gradio in just a few lines of Python. Once you’re ready to learn, head over to the ⚑ Quickstart.

Check out more demos on Spaces.

πŸ–ŠοΈ Text & Natural Language Processing

The simplest possible Gradio demo. It wraps a 'Hello {name}!' function in an Interface that accepts and returns text.

import gradio as gr

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

demo = gr.Interface(fn=greet, inputs="text", outputs="text")
    
if __name__ == "__main__":
    demo.launch()   

πŸ–ΌοΈ Images & Computer Vision

πŸ“ˆ Tabular Data & Plots

🎀 Audio & Speech