Lead story
Models & availability
Latest
Lead story
Models & availability
Latest
We audited Gradio 5 so that your machine learning apps are safe! In the past few years, Gradio (>6 million monthly Pypi installs) has become the default way to build machine learning web applications in Python. In just a few lines of code, you can create a user interface for an image generation app, a chatbot, or any other kind of ML app and share it with others using Gradio’s built-in share links or Hugging Face Spaces . import gradio as gr def generate ( seed, prompt ): ... return image # gr.Interface creates a web-based UI gr.Interface( generate, inputs=[gr.Slider(), gr.Textbox()], outputs=[gr.Image()] ).launch(share= True ) # share=True generates a public link instantly Our goal with Gradio is to allow developers to build web applications that work great out-of-the-box for machine learning use cases. This has meant letting you, as a developer, easily build applications that: Scale easily to large numbers of concurrent users Are accessible to as many users as possible Provide consistent UI, UX, and theming …