Update README.md
Browse files
README.md
CHANGED
@@ -1,26 +1,8 @@
|
|
1 |
-
# Stable-Diffusion 3.5 Large - Onnx Olive DirectML Optimized
|
2 |
-
|
3 |
-
## Original Model
|
4 |
-
https://huggingface.co/stabilityai/stable-diffusion-3.5-large
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
```csharp
|
10 |
-
// Create Pipeline
|
11 |
-
var pipeline = StableDiffusion3Pipeline.CreatePipeline("D:\\Models\\stable-diffusion-3.5-large-onnx");
|
12 |
-
|
13 |
-
// Prompt
|
14 |
-
var promptOptions = new PromptOptions
|
15 |
-
{
|
16 |
-
Prompt = "Illustrate a fierce barbarian man, with muscles rippling and wielding a massive axe, roaring in triumph."
|
17 |
-
};
|
18 |
-
|
19 |
-
// Run pipeline
|
20 |
-
var result = await pipeline.GenerateImageAsync(promptOptions);
|
21 |
-
|
22 |
-
// Save Image Result
|
23 |
-
await result.SaveAsync("Result.png");
|
24 |
-
```
|
25 |
-
## Inference Result
|
26 |
![Intro Image](Sample.png)
|
|
|
1 |
+
# Stable-Diffusion 3.5 Large - Onnx Olive DirectML Optimized
|
2 |
+
|
3 |
+
## Original Model
|
4 |
+
https://huggingface.co/stabilityai/stable-diffusion-3.5-large
|
5 |
+
|
6 |
+
|
7 |
+
## Inference Result
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
![Intro Image](Sample.png)
|