saddam213 commited on
Commit
f8edd66
1 Parent(s): 421fe98

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +28 -25
README.md CHANGED
@@ -1,26 +1,29 @@
1
- # Midgard Pony v3 - Onnx Olive DirectML Optimized
2
-
3
- ## Original Model
4
- https://civitai.com/models/470287?modelVersionId=561310
5
-
6
- ## C# Inference Demo
7
- https://github.com/TensorStack-AI/OnnxStack
8
-
9
- ```csharp
10
- // Create Pipeline
11
- var pipeline = StableDiffusionXLPipeline.CreatePipeline("D:\\Models\\MidgardPony-XL");
12
-
13
- // Prompt
14
- var promptOptions = new PromptOptions
15
- {
16
- Prompt = "Craft an image of a gallant furry prince, with a charming smile and a sword at his side, ready to embark on a quest"
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
+ ---
2
+ pipeline_tag: text-to-image
3
+ ---
4
+ # Midgard Pony v3 - Onnx Olive DirectML Optimized
5
+
6
+ ## Original Model
7
+ https://civitai.com/models/470287?modelVersionId=561310
8
+
9
+ ## C# Inference Demo
10
+ https://github.com/TensorStack-AI/OnnxStack
11
+
12
+ ```csharp
13
+ // Create Pipeline
14
+ var pipeline = StableDiffusionXLPipeline.CreatePipeline("D:\\Models\\MidgardPony-XL");
15
+
16
+ // Prompt
17
+ var promptOptions = new PromptOptions
18
+ {
19
+ Prompt = "Craft an image of a gallant furry prince, with a charming smile and a sword at his side, ready to embark on a quest"
20
+ };
21
+
22
+ // Run pipeline
23
+ var result = await pipeline.GenerateImageAsync(promptOptions);
24
+
25
+ // Save Image Result
26
+ await result.SaveAsync("Result.png");
27
+ ```
28
+ ## Inference Result
29
  ![Intro Image](Sample.png)