File size: 1,056 Bytes
80ba050
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
library_name: diffusers
---
dreamboothed [stable diffusion 1.5](https://huggingface.co/runwayml/stable-diffusion-v1-5) to include the concept of `_alex_ person` based on 4 photos shared in the Intel Insiders Discord.
published with permission.

Usage example 
```python
from diffusers import StableDiffusionPipeline

model_cp = "Vipitis/SD-15-dreamed-alex-person"
pipe = StableDiffusionPipeline.from_pretrained(model_cp)
out = pipe(prompt="photo of _alex_ person", negative_prompt="additional fingers, jepg artefacts", num_inference_steps=35, guidance_scale=8.5)

out.images[0]
```

Running on Intel Arc (via optimum-intel), has to convert and compile the model on first attempt. 
```python
from optimum.intel.openvino import OVStableDiffusionPipeline

model_cp = "Vipitis/SD-15-dreamed-alex-person"
ov_pipe = OVStableDiffusionPipeline.from_pretrained(model_cp, export=True, device="GPU")
out = ov_pipe(prompt="photo of _alex_ person", negative_prompt="additional fingers, jepg artefacts", num_inference_steps=35, guidance_scale=8.5)

out.images[0]
```