Vipitis commited on
Commit
80ba050
1 Parent(s): ff60d56

fix model card

Browse files
Files changed (1) hide show
  1. README.md +27 -0
README.md CHANGED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: diffusers
3
+ ---
4
+ 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.
5
+ published with permission.
6
+
7
+ Usage example
8
+ ```python
9
+ from diffusers import StableDiffusionPipeline
10
+
11
+ model_cp = "Vipitis/SD-15-dreamed-alex-person"
12
+ pipe = StableDiffusionPipeline.from_pretrained(model_cp)
13
+ out = pipe(prompt="photo of _alex_ person", negative_prompt="additional fingers, jepg artefacts", num_inference_steps=35, guidance_scale=8.5)
14
+
15
+ out.images[0]
16
+ ```
17
+
18
+ Running on Intel Arc (via optimum-intel), has to convert and compile the model on first attempt.
19
+ ```python
20
+ from optimum.intel.openvino import OVStableDiffusionPipeline
21
+
22
+ model_cp = "Vipitis/SD-15-dreamed-alex-person"
23
+ ov_pipe = OVStableDiffusionPipeline.from_pretrained(model_cp, export=True, device="GPU")
24
+ out = ov_pipe(prompt="photo of _alex_ person", negative_prompt="additional fingers, jepg artefacts", num_inference_steps=35, guidance_scale=8.5)
25
+
26
+ out.images[0]
27
+ ```