Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Linaqruf/animagine-xl-3.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
license: other
|
| 6 |
+
license_name: faipl-1.0-sd
|
| 7 |
+
license_link: https://freedevproject.org/faipl-1.0-sd/
|
| 8 |
+
tags:
|
| 9 |
+
- text-to-image
|
| 10 |
+
- stable-diffusion
|
| 11 |
+
- safetensors
|
| 12 |
+
- stable-diffusion-xl
|
| 13 |
+
- openvino
|
| 14 |
+
- openvino-export
|
| 15 |
+
widget:
|
| 16 |
+
- text: 1girl, green hair, sweater, looking at viewer, upper body, beanie, outdoors,
|
| 17 |
+
night, turtleneck, masterpiece, best quality
|
| 18 |
+
parameter:
|
| 19 |
+
negative_prompt: nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers,
|
| 20 |
+
extra digit, fewer digits, cropped, worst quality, low quality, normal quality,
|
| 21 |
+
jpeg artifacts, signature, watermark, username, blurry, artist name
|
| 22 |
+
example_title: 1girl
|
| 23 |
+
- text: 1boy, male focus, green hair, sweater, looking at viewer, upper body, beanie,
|
| 24 |
+
outdoors, night, turtleneck, masterpiece, best quality
|
| 25 |
+
parameter:
|
| 26 |
+
negative_prompt: nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers,
|
| 27 |
+
extra digit, fewer digits, cropped, worst quality, low quality, normal quality,
|
| 28 |
+
jpeg artifacts, signature, watermark, username, blurry, artist name
|
| 29 |
+
example_title: 1boy
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
This model was converted to OpenVINO from [`Linaqruf/animagine-xl-3.0`](https://huggingface.co/Linaqruf/animagine-xl-3.0) using [optimum-intel](https://github.com/huggingface/optimum-intel)
|
| 33 |
+
via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
|
| 34 |
+
|
| 35 |
+
First make sure you have optimum-intel installed:
|
| 36 |
+
|
| 37 |
+
```bash
|
| 38 |
+
pip install optimum[openvino]
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
To load your model you can do as follows:
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
from optimum.intel import OVStableDiffusionXLPipeline
|
| 45 |
+
|
| 46 |
+
model_id = "yuyuyu09/animagine-xl-3.0-openvino"
|
| 47 |
+
model = OVStableDiffusionXLPipeline.from_pretrained(model_id)
|
| 48 |
+
```
|