Skip to content
Dilith Jayakody edited this page Nov 11, 2022 · 6 revisions

Development Guide

Requirements

  • Linux
  • Python 3.7+
  • GPU Support

Local setup

  1. Clone the repository:
git clone https://github.com/h2oai/wave-image-styler.git
  1. Download the models, install the requirements, and set up the environment with:
  • make setup
    
  • Diffusion Model Registration:

    • Create an account on Hugging Face (Helps keep track of the safe use of the model)
    • Head over to https://huggingface.co/runwayml/stable-diffusion-v1-5 and accept the licensing agreement.
    • Install git-lfs
    • cd models
    • git clone https://huggingface.co/runwayml/stable-diffusion-v1-5
    • cd stable-diffusion-v1-5
    • git lfs pull

Running the app

To run the app with active reload (automatically reload when changes are made):

make dev

Else, if active reload is not required:

make run

Clone this wiki locally