saddam213 commited on
Commit
76d28e9
·
verified ·
1 Parent(s): a53ab13

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -29
README.md CHANGED
@@ -1,30 +1,33 @@
1
- # Stable-Diffusion 3 Lite
2
-
3
- ## Original Model
4
- https://huggingface.co/stabilityai/stable-diffusion-3-medium
5
- ### This conversion does not include the T5 models so is defined as "lite" not "medium"
6
-
7
- ## C# Inference Demo
8
- https://github.com/TensorStack-AI/OnnxStack
9
-
10
-
11
-
12
-
13
- ```csharp
14
- // Create Pipeline
15
- var pipeline = StableDiffusion3Pipeline.CreatePipeline("D:\\Models\\stable-diffusion-3-lite-onnx");
16
-
17
- // Prompt
18
- var promptOptions = new PromptOptions
19
- {
20
- Prompt = "A cat holding a sign that says OnnxStack Stable Diffusion 3"
21
- };
22
-
23
- // Run pipeline
24
- var result = await pipeline.GenerateImageAsync(promptOptions);
25
-
26
- // Save Image Result
27
- await result.SaveAsync("Result.png");
28
- ```
29
- ## Inference Result
 
 
 
30
  ![Intro Image](Sample.png)
 
1
+ ---
2
+ pipeline_tag: text-to-image
3
+ ---
4
+ # Stable-Diffusion 3 Lite
5
+
6
+ ## Original Model
7
+ https://huggingface.co/stabilityai/stable-diffusion-3-medium
8
+ ### This conversion does not include the T5 models so is defined as "lite" not "medium"
9
+
10
+ ## C# Inference Demo
11
+ https://github.com/TensorStack-AI/OnnxStack
12
+
13
+
14
+
15
+
16
+ ```csharp
17
+ // Create Pipeline
18
+ var pipeline = StableDiffusion3Pipeline.CreatePipeline("D:\\Models\\stable-diffusion-3-lite-onnx");
19
+
20
+ // Prompt
21
+ var promptOptions = new PromptOptions
22
+ {
23
+ Prompt = "A cat holding a sign that says OnnxStack Stable Diffusion 3"
24
+ };
25
+
26
+ // Run pipeline
27
+ var result = await pipeline.GenerateImageAsync(promptOptions);
28
+
29
+ // Save Image Result
30
+ await result.SaveAsync("Result.png");
31
+ ```
32
+ ## Inference Result
33
  ![Intro Image](Sample.png)