holwech commited on
Commit
bd67c46
·
1 Parent(s): 10b306d

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -0
README.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # How to use
2
+
3
+ This is a cleaned up version of the [Realistic Vision 5.1](https://huggingface.co/SG161222/Realistic_Vision_V5.1_noVAE) model. Generated `fp16` versions and extracted the inpainting model. This can be found under the branch `realistic-vision-5_1-inpainting`.
4
+
5
+ ```
6
+ from diffusers import StableDiffusionPipeline, StableDiffusionInpaintPipeline
7
+
8
+ pipeline = StableDiffusionPipeline.from_pretrained(
9
+ "holwech/realistic-vision-optimized", variant="fp16", torch_dtype=torch.float16
10
+ )
11
+ # OR
12
+ pipeline = StableDiffusionInpaintPipeline.from_pretrained(
13
+ "holwech/realistic-vision-optimized", revision="realistic-vision-5_1-inpainting", variant="fp16", torch_dtype=torch.float16
14
+ )
15
+ ```