Gradio.Net
⭐Gradio for .NET – a port of Gradio, an open-source Python package that allows you to quickly build a demo or web application for your machine learning model,
What is Gradio.Net?
⭐Gradio for .NET – a port of Gradio, an open-source Python package that allows you to quickly build a demo or web application for your machine learning model, API, or any arbitrary Python function. Gradio for .NET – 基于 Gradio 的 .NET 移植,Gradio 是一个开源 Python 包,允许你为机器学习模型、API 或任何任意 Python 函数快速构建演示或 Web 应用程序。
Overview of Gradio.Net
What it is
Gradio.Net is a port of Gradio 6.30.0, an open-source Python package that turns a function into a web app. It allows you to quickly build a demo or web application for your machine learning model, API, or any arbitrary C# method. The frontend, protocol, and configuration are identical to the Python version; the page a browser gets is drawn by the Python version's own compiled frontend, unchanged.
Key features
- Port of Gradio 6.30.0 with the same frontend, protocol, and config.
- Build a UI for a model, API, or any C# method in a few lines of .NET code.
- No JavaScript or CSS required.
- Supports
gr.Interfacefor the fastest way to wrap a function into a page. - Supports
gr.Blocksfor full control of the layout. - Can be integrated into an existing ASP.NET Core project using
AddGradio()andUseGradio(). - Includes demos for quickstart, blocks, chat, streaming, files, form, media, multipage, themes, and charts.
Use cases
- Quickly build a demo or web application for a machine learning model.
- Create a UI for an API or any arbitrary C# function.
- Build interactive pages with text, images, audio, video, and file uploads.
- Implement chat interfaces, streaming outputs, multipage apps, and themed layouts.
Getting started
See the repository README for detailed installation and quick-start instructions.
License and pricing
Licensed under Apache-2.0. Open source.
Based on the project's public README and repository metadata.