Update README.md

This commit is contained in:
DarthAffe authored and GitHub committed 2024-01-02 14:17:33 +00:00
1 parent 1b8c2fce9d
commit a7ccbe8ef2
1 file changed
+2 -5
+2 -5
View File
@@ -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(@"<path_to_model>", new ModelParameter());
using StableDiffusionParameter parameter = new StableDiffusionParameter();
using StableDiffusionImage image = sd.TextToImage("<prompt>", parameter);
using StableDiffusionImage image = sd.TextToImage("<prompt>", new StableDiffusionParameter());
```