# Gradio
Gradio is an open-source [[Python]] library for building web-based UIs for machine learning models, APIs, or arbitrary Python functions. Developed by [[HuggingFace]], licensed under Apache 2.0. It requires Python 3.10+.
The core concept is wrapping a Python function with a UI using the `Interface` class, which takes a function, inputs, and outputs. Gradio includes 30+ built-in components (Textbox, Image, HTML, etc.) and a dedicated `ChatInterface` class for chatbot UIs. No JavaScript, CSS, or web hosting experience is needed.
## Key features
- Rapid prototyping of ML model demos
- 30+ built-in UI components designed for ML applications
- `Interface` for general-purpose UIs, `ChatInterface` for chatbot UIs
- Sharing via built-in link generation
- Free hosting on [[HuggingFace]] Spaces
- Programmatic querying via the Gradio Python and JavaScript client libraries
## References
- Website: https://www.gradio.app
- Documentation: https://www.gradio.app/docs
- Source code: https://github.com/gradio-app/gradio
- PyPI: https://pypi.org/project/gradio/
## Related
- [[Python]]
- [[HuggingFace]]
- [[Voice Clone Studio]]