20
Creating Interactive User Interfaces
In previous chapters, we used only Python code and Jupyter Notebook to achieve various tasks using Stable Diffusion. In some scenarios, we need an interactive user interface not only for easier testing but also for a better user experience.
Imagine we have built an application using Stable Diffusion. How can we publish it to the public or non-technical users to try it out? In this chapter, we are going to use an open sourced interactive UI framework, Gradio [1], to encapsulate diffusers code and provide a web-based UI, using only Python.
This chapter won't delve into every aspect of Gradio usage. Instead, we'll focus on giving you a high-level overview of its fundamental building blocks, all with a specific ...
Get Using Stable Diffusion with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.