Gauss
A Stable Diffusion app for macOS built with SwiftUI and Apple’s ml-stable-diffusion CoreML models.
Building from source
- Clone this repo
- Clone my fork of ml-stable-diffusion into the repo.
- Follow the instructions to set up the ml-stable-diffusion python library.
- Run
./build-models.sh ./build
. You may need to adjust the Conda setup goo in the script. - Edit Gauss/GaussKernel.swift and update
GaussKernelResources.sourceCodeRoot
to point to the directory where you cloned this repo. - Open project in Xcode and click build!
Usage
- Write prompt text and adjust parameters in the composer view at the bottom.
- To export an image, just drag it to Finder or any other image editor.
- You can always generate more images from an existing prompt.