Path: blob/main/diffusers/in_painting_with_stable_diffusion_using_diffusers.ipynb
5906 views
Kernel: Python 3
In-painting pipeline for Stable Diffusion using 🧨 Diffusers
This notebook shows how to do text-guided in-painting with Stable Diffusion model using 🤗 Hugging Face 🧨 Diffusers library.
For a general introduction to the Stable Diffusion model please refer to this colab.
In [ ]:
To use private and gated models on 🤗 Hugging Face Hub, login is required. If you are only using a public checkpoint (such as runwayml/stable-diffusion-inpainting
in this notebook), you can skip this step.
In [2]:
Out[2]:
Login successful
Your token has been saved to /root/.huggingface/token
In [1]:
In [2]:
Out[2]:
Fetching 15 files: 0%| | 0/15 [00:00<?, ?it/s]
In [3]:
In [4]:
Out[4]:
In [5]:
Out[5]:
In [6]:
Out[6]:
0%| | 0/50 [00:00<?, ?it/s]
In [7]:
In [8]:
Out[8]:
Gradio Demo
In [9]:
In [10]:
Out[10]:
Colab notebook detected. This cell will run indefinitely so that you can see errors and logs. To turn off, set debug=False in launch().
Running on public URL: https://e52f060882d60b09.gradio.app
This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces
0%| | 0/50 [00:00<?, ?it/s]
0%| | 0/50 [00:00<?, ?it/s]
Keyboard interruption in main thread... closing server.
(<gradio.routes.App at 0x7eff58b4ef90>,
'http://127.0.0.1:7860/',
'https://e52f060882d60b09.gradio.app')
In [ ]: