Excited to welcome the first stable release of Gradio 5 today👋
Gradio has >2M users/month, >470K AI apps on Hugging Face Spaces. We have become the default way to build, share, and use machine learning applications among the AI community.
Our goal with Gradio 5 was to address the most common pain points that we’ve heard from Gradio developers about taking these apps to production:
1️⃣ "Gradio apps load too slowly"
Gradio 5 ships with major performance improvements, including the ability to serve Gradio apps via server-side rendering (SSR) which loads Gradio apps almost instantaneously in the browser. No more loading spinner! 🏎️💨
2️⃣ "Uh, this Gradio app looks old-school"
Many of the core Gradio components, including Buttons, Tabs, Sliders, as well as the high-level chatbot interface, have been refreshed with a modern design in Gradio 5. We’re also releasing a new set of built-in themes, to let you easily create fresh-looking Gradio apps👨🎨
3️⃣ "I can’t build realtime apps in Gradio"
We have changed how streaming works internally: in some cases, we now use websockets and send data via base64 to minimize latency. We support WebRTC via custom components, and have also added significantly more documentation and example demos that are focused on common streaming use cases, such as webcam-based object detection, video streaming, real-time speech transcription and generation, and conversational chatbots 🎤
4️⃣ "Are Gradio apps secure?"
Gradio 5 intended to be a production-ready web framework for all kinds of machine learning applications, so we've also made significant improvements around security (including getting a 3rd-party audit of Gradio) -- more about that in an upcoming post!
5️⃣ "LLMs don't know Gradio" →
Gradio 5 ships with an experimental AI Playground where you can use AI to generate or modify Gradio apps and preview the app right in your browser immediately: https://lnkd.in/gAChjNq4 🤖
👉 Try Gradio 5 today, its as free and intuitive as its always been:
`pip install --upgrade gradio`
Read all about Gradio 5 in our Release Blog: https://lnkd.in/grnvQuzF 🤩
We'd love to hear what you think!