I'm not smart enough for this. 

https://github.com/AUTOMATIC1111/stable-diffusion-webui