## sd.cpp.gui.wx wxWidgets based Stable Diffusion C++ GUi Created by Ferenc Szontágh @2024-01-30 No licence yet... ### - Prepare * install vcpkg on your system... * configure the vcpkg in CMakePresets.json and CMakeUserPresets.json * run configure, itt will be ~15mins to download and configure the dependencies ### - Externals! in the external forlder, you can find the precompuled stable-diffusion.cpp and ggml as submodulde to it. The default libs are configured with only CUDA, the release is Debug and Release. To use with another version (for example cpu only), you need to compile and overwrite #### Build stable-diffusion.cpp ```Bash git clone --recursive https://github.com/leejet/stable-diffusion.cpp cd stable-diffusion.cpp git pull origin master git submodule init git submodule update mkdir build cd build #with CUDA cmake .. -DSD_CUBLAS=ON -DBUILD_SHARED_LIBS=ON #build cmake --build . --config Release #or Debug cmake --build . --config Debug #test ./bin/sd -m ../models/sd-v1-4.ckpt -p "a lovely cat" ``` ## - TO-DOs See @git.spamming.hu ticketing system ### - IDE Use the vscode... Install the extensions which is recommended by the workspace