Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: fluently-license
|
| 4 |
+
license_link: https://huggingface.co/spaces/fluently/License
|
| 5 |
+
library_name: diffusers
|
| 6 |
+
pipeline_tag: text-to-image
|
| 7 |
+
base_model: fluently/Fluently-v4-LCM
|
| 8 |
+
tags:
|
| 9 |
+
- safetensors
|
| 10 |
+
- stable-diffusion
|
| 11 |
+
- sd1.5
|
| 12 |
+
- LCM
|
| 13 |
+
- fluently
|
| 14 |
+
- openvino
|
| 15 |
+
- openvino-export
|
| 16 |
+
inference:
|
| 17 |
+
parameters:
|
| 18 |
+
num_inference_steps: 8
|
| 19 |
+
guidance_scale: 1.5
|
| 20 |
+
negative_prompt: (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy,
|
| 21 |
+
wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and
|
| 22 |
+
fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry,
|
| 23 |
+
amputation
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
This model was converted to OpenVINO from [`fluently/Fluently-v4-LCM`](https://huggingface.co/fluently/Fluently-v4-LCM) using [optimum-intel](https://github.com/huggingface/optimum-intel)
|
| 27 |
+
via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
|
| 28 |
+
|
| 29 |
+
First make sure you have optimum-intel installed:
|
| 30 |
+
|
| 31 |
+
```bash
|
| 32 |
+
pip install optimum[openvino]
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
To load your model you can do as follows:
|
| 36 |
+
|
| 37 |
+
```python
|
| 38 |
+
from optimum.intel import OVStableDiffusionPipeline
|
| 39 |
+
|
| 40 |
+
model_id = "hsuwill000/Fluently-v4-LCM-openvino"
|
| 41 |
+
model = OVStableDiffusionPipeline.from_pretrained(model_id)
|
| 42 |
+
```
|