saddam213 commited on
Commit
57fe62c
·
verified ·
1 Parent(s): 478d0d9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -27
README.md CHANGED
@@ -1,28 +1,8 @@
1
- # Stable-Diffusion 3.5 Large Turbo - Onnx Olive DirectML Optimized
2
-
3
- ## Original Model
4
- https://huggingface.co/stabilityai/stable-diffusion-3.5-large-turbo
5
-
6
- ## C# Inference Demo
7
- https://github.com/TensorStack-AI/OnnxStack
8
-
9
- ```csharp
10
- // Create Pipeline
11
- var pipeline = StableDiffusion3Pipeline.CreatePipeline("D:\\Models\\stable-diffusion-3.5-large-turbo-onnx");
12
-
13
- // Prompt
14
- var promptOptions = new PromptOptions
15
- {
16
- GuidanceScale = 0f,
17
- InferenceSteps = 4,
18
- Prompt = "Depict a stoic dwarf warrior, with a braided beard and a massive hammer, standing guard in a mountain stronghold."
19
- };
20
-
21
- // Run pipeline
22
- var result = await pipeline.GenerateImageAsync(promptOptions);
23
-
24
- // Save Image Result
25
- await result.SaveAsync("Result.png");
26
- ```
27
- ## Inference Result
28
  ![Intro Image](Sample.png)
 
1
+ # Stable-Diffusion 3.5 Large Turbo - Onnx Olive DirectML Optimized
2
+
3
+ ## Original Model
4
+ https://huggingface.co/stabilityai/stable-diffusion-3.5-large-turbo
5
+
6
+
7
+ ## Inference Result
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ![Intro Image](Sample.png)