readme: ---
  license: openrail
  ---
  
  ## Super Resolution
  
  I fine tuned a version of Stable Diffusion 1.4 for the task of super-resolution, you can find the [trained model on huggingface hub](https://huggingface.co/lambdalabs/stable-diffusion-super-res) and can run a gradio demo as follows:
  
  ```bash
  git clone https://github.com/justinpinkney/stable-diffusion.git
  cd stable-diffusion
  python -m venv .venv --prompt sd
  . .venv/bin/activate
  pip install -U pip
  pip install -r requirements.txt
  python scripts/gradio_superres.py
  ```
  
  Note since I trained this model there is now an 'official' super res model for Stable Diffusion 2 which you might prefer to use.
  
  Trained by [Justin Pinkney](https://www.justinpinkney.com/) ([@Buntworthy](https://twitter.com/Buntworthy)) at [Lambda Labs](https://lambdalabs.com/).