piimaila commited on
Commit
90b790c
·
verified ·
1 Parent(s): 2f1e471

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +28 -0
README.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/stable-diffusion-2-1
3
+ license: openrail++
4
+ tags:
5
+ - stable-diffusion
6
+ - text-to-image
7
+ - openvino
8
+ - openvino-export
9
+ pinned: true
10
+ ---
11
+
12
+ This model was converted to OpenVINO from [`stabilityai/stable-diffusion-2-1`](https://huggingface.co/stabilityai/stable-diffusion-2-1) using [optimum-intel](https://github.com/huggingface/optimum-intel)
13
+ via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
14
+
15
+ First make sure you have optimum-intel installed:
16
+
17
+ ```bash
18
+ pip install optimum[openvino]
19
+ ```
20
+
21
+ To load your model you can do as follows:
22
+
23
+ ```python
24
+ from optimum.intel import OVStableDiffusionPipeline
25
+
26
+ model_id = "piimaila/stable-diffusion-2-1-openvino"
27
+ model = OVStableDiffusionPipeline.from_pretrained(model_id)
28
+ ```