An Open Source Machine Learning Framework for Everyone
Opening the entry
Opening the entry
Build and share delightful machine learning apps, all in Python. Star to support our work!
Gradio is an open-source Python package for building web demos and applications around machine learning models, APIs, or any Python function. It requires Python 3.10 or higher and provides over 30 built-in UI components. Apps can be shared via built-in sharing links without JavaScript, CSS, or web hosting knowledge. Gradio runs in code editors, Jupyter notebooks, and Google Colab.
pip install --upgrade gradio
import gradio as gr
def greet(name, intensity):
return "Hello, " + name + "!" * int(intensity)
demo = gr.Interface(
fn=greet,
inputs=["text", "slider"],
outputs=["text"],
api_name="predict"
)
demo.launch()gradio-app/gradio is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.