Update README.md
Browse files
README.md
CHANGED
|
@@ -1,26 +1,8 @@
|
|
| 1 |
-
# Stable-Diffusion 3.5 Medium - Onnx Olive DirectML Optimized
|
| 2 |
-
|
| 3 |
-
## Original Model
|
| 4 |
-
https://huggingface.co/stabilityai/stable-diffusion-3.5-medium
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
```csharp
|
| 10 |
-
// Create Pipeline
|
| 11 |
-
var pipeline = StableDiffusion3Pipeline.CreatePipeline("D:\\Models\\stable-diffusion-3.5-medium-onnx");
|
| 12 |
-
|
| 13 |
-
// Prompt
|
| 14 |
-
var promptOptions = new PromptOptions
|
| 15 |
-
{
|
| 16 |
-
Prompt = "Design a powerful sorceress, surrounded by swirling magical energy, with runes glowing on her skin."
|
| 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 |

|
|
|
|
| 1 |
+
# Stable-Diffusion 3.5 Medium - Onnx Olive DirectML Optimized
|
| 2 |
+
|
| 3 |
+
## Original Model
|
| 4 |
+
https://huggingface.co/stabilityai/stable-diffusion-3.5-medium
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
## Inference Result
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |

|