NOTE: the updated repo is now at https://github.com/cbh123/charl-e
Charl-E is an ElectronJS app that allows you to run Stable Diffusion locally on your M1 Mac. No setup scripts or other downloads necessary!
It works by packaging Stable Diffusion as a python executable, which is then called by the electron app. The executable lives in ./dist/txt2img.
You can download it here: https://www.charl-e.com
I'm working on making this faster and making the UI cleaner.
- After downloading, make sure you drag it into the applications folder. It won't work until you do that.
- You may get a warning about malicious code. To bypass this, you can right click on the app and select 'Open'. I realize this sounds suspicious but in order to get rid of the warning I need to get Apple to 'notarize' the app which is a little tricky. Stay tuned.
If you don't want to download the DMG and would rather set it up yourself, it's easy!
From your command line:
# Clone this repository
git clone [https://github.com/electron/electron-quick-start](https://github.com/cbh123/charl-e)
# Go into the repository
cd charl-eNext you'll need to download the weights from hugging face. You can find them here. Download sd-v1-4.ckpt and move it to the /models folder in this directory.
Finally:
# Install dependencies
npm install
# Run the app
npm startYou should be good to go.