Sviatoslav commited on
Commit
e8843d7
1 Parent(s): 1eca491

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -1
README.md CHANGED
@@ -4,7 +4,36 @@ license: other
4
 
5
  # Dreamlike Photoreal 1.0 is a photorealistic Stable Diffusion 1.5 model fine tuned on high quality photos, made by [dreamlike.art](https://dreamlike.art/).
6
 
7
- # Running
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
  # License
10
 
 
4
 
5
  # Dreamlike Photoreal 1.0 is a photorealistic Stable Diffusion 1.5 model fine tuned on high quality photos, made by [dreamlike.art](https://dreamlike.art/).
6
 
7
+ Use the same prompts as you would do for photorealistic SD 1.5 gens. You can also use danbooru style tags for characters (1girl, brown hair, etc.).
8
+
9
+ ### CompVis
10
+
11
+ [dreamlike-photoreal-1.0.ckpt (2GB)](https://huggingface.co/dreamlike-art/dreamlike-photoreal-1.0/resolve/main/dreamlike-photoreal-1.0.ckpt)
12
+
13
+ ### Gradio
14
+
15
+ We support a [Gradio](https://github.com/gradio-app/gradio) Web UI to run Dreamlike Photoreal 1.0:
16
+
17
+ [Open in Spaces](https://huggingface.co/spaces/dreamlike-art/dreamlike-photoreal-1.0-demo)
18
+
19
+ ### 🧨 Diffusers
20
+
21
+ This model can be used just like any other Stable Diffusion model. For more information,
22
+ please have a look at the [Stable Diffusion Pipeline](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
23
+
24
+ ```python
25
+ from diffusers import StableDiffusionPipeline
26
+ import torch
27
+
28
+ model_id = "dreamlike-art/dreamlike-photoreal-1.0"
29
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
30
+ pipe = pipe.to("cuda")
31
+
32
+ prompt = "pikachu"
33
+ image = pipe(prompt).images[0]
34
+
35
+ image.save("./result.jpg")
36
+ ```
37
 
38
  # License
39