📄️ Gradio
Turn a Python model into a shareable web demo with Gradio: interfaces, Blocks, chat, streaming, queueing, publication on a Hugging Face Space. 3h, applied projects, 40-question exam, verifiable certificate.
📄️ 1. Interface
Module 1 of the Gradio premium course: the three arguments of gr.Interface, automatic component matching from Python types, and the image classifier in ten lines.
📄️ 2. Components
Module 2 of the Gradio premium course: the exact data shapes each component hands to your function, ranked probabilities as output, and an audio transcription demo.
📄️ 3. Blocks
Module 3 of the Gradio premium course: gr.Blocks for custom layouts, Row and Column, click and change events, and chaining transcription then summarization with State.
📄️ 4. Chat interfaces
Module 4 of the Gradio premium course: gr.ChatInterface, message history, system prompt, and connecting to a local model or a hosted API from a single function.
📄️ 5. Streaming
Module 5 of the Gradio premium course: Python generators, token-by-token display with yield, interruption, and how streaming changes perceived latency.
📄️ 6. Examples and cache
Module 6 of the Gradio premium course: clickable examples, cache_examples at startup, and the discipline of picking examples that show failure modes as well as successes.
📄️ 7. Queue and load
Module 7 of the Gradio premium course: the built-in queue, concurrency limits, request timeouts, behavior under load and how to measure it with multiple simulated users.
📄️ 8. Share link
Module 8 of the Gradio premium course: share=True, the gradio.live tunnel and its 72-hour lifetime, what is exposed, simple auth, and when not to use it.
📄️ 9. Hugging Face Space
Module 9 of the Gradio premium course: creating a Space, required files, secrets, free and paid hardware, sleep behavior and embedding the demo in a website.
📄️ 10. Project
Module 10 of the Gradio premium course: a complete published assistant with examples, streaming, queueing, feedback capture and a review of costs and limits.
📄️ Recap and exam
Complete recap of the Gradio premium course: Interface, components, Blocks, chat, streaming, examples, queue, share link and Spaces, then the 40-question exam.