This repository was archived by the owner on Nov 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Original file line number Diff line number Diff line change 1- Example - Console App
1+ # Example - Console App
2+
3+ ## Getting Started
4+
5+ ### 1.) Download the required ` .onnx ` models:
6+
7+
8+ * https://huggingface.co/rocca/swin-ir-onnx
9+ * This is the upscaler model.
10+ * https://huggingface.co/runwayml/stable-diffusion-v1-5
11+ * https://huggingface.co/softwareweaver/InstaFlow-0.9B-Olive-Onnx
12+ * https://huggingface.co/SimianLuo/LCM_Dreamshaper_v7
13+ * https://huggingface.co/softwareweaver/stable-diffusion-xl-base-1.0-Olive-Onnx
14+
15+ Note: Ensure you run ``` git lfs install ``` before cloning the repository to ensure the models are downloaded correctly.
16+
17+
18+ ### 2.) Update the paths in the ` appsettings.json ` within the ` /OnnxStack.Console/ ` project:
19+
20+
21+ * Update the paths in ` appsettings.json ` to point to the downloaded models
22+ * If the downloaded model repository does not contain a ` Tokenizer ` or ` Tokenizer2 ` ` .onnx ` file, leave the path empty.
23+ * Note: When the path is empty, OnnxStack will use it's own 'built-in' tokenizer called ` cliptokenizer.onnx `
24+ * Example with empty path:
25+ ``` json
26+ {
27+ "Type" : " Tokenizer" ,
28+ "OnnxModelPath" : " "
29+ }
30+ ```
31+
32+
33+ ### FAQ
34+
35+ * ** Q:** My ` .GIF ` is flashing, is it supposed to do this?
36+ * ** A:** The ` .GIF ` area has been deprecated in favor of the 'video' features that are being added. Please ignore this example for now.
37+
38+
39+
You can’t perform that action at this time.
0 commit comments