From a7ccbe8ef2713b798f30bf666f689048aa30e433 Mon Sep 17 00:00:00 2001 From: DarthAffe Date: Tue, 2 Jan 2024 14:17:33 +0000 Subject: [PATCH] Update README.md --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 131d453..16eb363 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # StableDiffusion.NET -Based on -https://github.com/seasonjs/stable-diffusion.cpp-build -https://github.com/leejet/stable-diffusion.cpp +Based on https://github.com/leejet/stable-diffusion.cpp ## Usage ### Setup @@ -11,6 +9,5 @@ Run `build.bat` to build the native libs (modify params like CUDA-builds if need ### Example ```csharp using StableDiffusionModel sd = new(@"", new ModelParameter()); -using StableDiffusionParameter parameter = new StableDiffusionParameter(); -using StableDiffusionImage image = sd.TextToImage("", parameter); +using StableDiffusionImage image = sd.TextToImage("", new StableDiffusionParameter()); ```