TLDRocket
Sign in

Any Custom Frontend with Gradio's Backend

Hugging Face Blog

Gradio released gradio.Server, which allows developers to build custom frontends using React, Svelte, or vanilla HTML/JS while retaining Gradio's backend features like queuing, API infrastructure, and ZeroGPU support. The Text Behind Image demo application demonstrates this with approximately 50 lines of Python backend code and a ~1300-line vanilla HTML frontend that manages image layering and text rendering. This enables developers to choose between Gradio's built-in UI components or entirely custom frontends while maintaining access to Hugging Face Spaces hosting, concurrency management, and the gradio_client SDK.

Related stories

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads 60+ sources, removes duplicate coverage, and summarises the day in two minutes. Free, no spam, unsubscribe anytime.