Notebooks
H
Hugging Face
Latent Diffusion Upscaler

Latent Diffusion Upscaler

hf-notebooksdiffusers

Open In Colab

Image super-resolution using Latent Diffusion

This colab notebook shows how to use the Latent Diffusion image super-resolution model using ๐Ÿงจ diffusers libray.

The model was originally released in Latent Diffusion repo. It's a simple, 4x super-resolution model diffusion model. This model is not conditioned on text.

Install the Deps

[1]
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
     |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 175 kB 5.1 MB/s 
     |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 182 kB 46.5 MB/s 
  Building wheel for diffusers (PEP 517) ... done

Imports

[1]

Load the pipeline

[2]
Fetching 6 files:   0%|          | 0/6 [00:00<?, ?it/s]

Get the image for demo

[3]
Output

Run pipeline to upscale the image

[4]
  0%|          | 0/100 [00:00<?, ?it/s]
[5]
Output
[ ]