Hugging Face Gradio 5 Offers AI-Powered App Creation and Enhanced Security

Hugging Face has released version 5 of its Gradio open source platform for building machine learning (ML) applications. The update introduces a suite of features focused on expanding access to AI, including a novel AI-powered app creation tool, enhanced web development capabilities, and bolstered security measures.

Hugging Face, which operates a popular repository for open source machine learning projects, now hosts more than 1.3 million AI models, including the generative language models driving advances in AI. It also provides access to 450,000 datasets and other technical resources.

Gradio, acquired by Hugging Face in 2021, has become a critical element of the company's platform, the company said, attracting more than 2 million monthly users and facilitating the creation of over 470,000 applications.

Gradio 5 introduces an experimental "AI Playground," which allows users to design and preview AI-powered applications by simply entering natural language prompts. According to Abubakar Abid, the founder of Gradio, the new feature is akin to other no-code or low-code development environments but goes a step further by generating web-based previews that can run directly in a browser.

"With Gradio 5, developers can build production-ready machine learning web applications that are performant, scalable, beautifully designed, accessible, and follow best web security practices, all in a few lines of Python," Abid said in a blog post.

Gradio's integration with Hugging Face's model hub is a key advantage, the company said. Once an AI model is uploaded to the repository, developers can incorporate it into their applications with minimal effort — now achievable with just a few commands or even spoken instructions. This tight integration dramatically reduces development time and simplifies the process for those building on Hugging Face's ecosystem.

Hugging Face's growth and influence within the AI ecosystem have drawn the interest of major investors, including NVIDIA, which participated in Hugging Face's recent $235 million funding round. Often compared to GitHub but with a specific focus on AI, Hugging Face acts as a hub where developers can access, share, and deploy AI models with ease.

The new release also aims to bridge the gap between machine learning developers and web development. "Many developers are proficient in Python but less familiar with web development tools," Abid explained. "Gradio allows them to build scalable, secure applications that follow best practices in just a few lines of Python."

Gradio 5 emphasizes accessibility and security, two areas increasingly important to enterprises. Hugging Face hired cybersecurity firm Trail of Bits Inc. to conduct an independent audit of the new codebase, ensuring it meets enterprise-grade security standards. The audit addressed previously identified issues and introduced new security enhancements, giving developers greater confidence in deploying their applications.

Hugging Face views the Gradio 5 release as just the beginning, with plans to introduce additional features and capabilities in the coming months. The roadmap includes mobile support, multipage applications, sidebars, navigation elements, and expanded support for image and video modalities.

About the Author

John K. Waters is the editor in chief of a number of Converge360.com sites, with a focus on high-end development, AI and future tech. He's been writing about cutting-edge technologies and culture of Silicon Valley for more than two decades, and he's written more than a dozen books. He also co-scripted the documentary film Silicon Valley: A 100 Year Renaissance, which aired on PBS.  He can be reached at [email protected].

Featured

  •  black graduation cap with a glowing blue AI brain circuit symbol on top

    Report: AI Is a Must for Modern Learners

    A new report from VitalSource identifies a growing demand among learners for AI tools, declaring that "AI isn't just a nice-to-have; it's a must."

  • From Fire TV to Signage Stick: University of Utah's Digital Signage Evolution

    Jake Sorensen, who oversees sponsorship and advertising and Student Media in Auxiliary Business Development at the University of Utah, has navigated the digital signage landscape for nearly 15 years. He was managing hundreds of devices on campus that were incompatible with digital signage requirements and needed a solution that was reliable and lowered labor costs. The Amazon Signage Stick, specifically engineered for digital signage applications, gave him the stability and design functionality the University of Utah needed, along with the assurance of long-term support.

  • laptop screen with a video play icon, surrounded by parts of notebooks, pens, and a water bottle on a student desk

    New AI Tool Generates Video Explanations Based on Course Materials

    AI-powered studying and learning platform Studyfetch has launched Imagine Explainers, a new video creator that utilizes artificial intelligence to generate 10- to 60-minute explainer videos for any topic.

  • handshake where one hand is human and the other is composed of glowing circuits

    Western Governors University Joins Open edX as a Mission-Aligned Organization

    Western Governors University is the first organization to join the Open edX project as a "mission-aligned organization" (MAO), a new category of institution-level partnership supporting development of the Open edX open source online learning platform.