Jean-Loup Maillet commited on
Commit
263b0e4
1 Parent(s): 21414ef

updated readme

Browse files
Files changed (1) hide show
  1. README.md +10 -1
README.md CHANGED
@@ -35,7 +35,16 @@ Depending on the prompts, the rest of the image might be kept as is or modified
35
 
36
  OzzyGT made a really good guide on how to use this model for outpainting, give it a try [Here](https://github.com/huggingface/diffusers/discussions/7482) !
37
 
38
- A big thank you to him for pointing me out how to name the files for diffusers compatibility and for the fp16 version.
 
 
 
 
 
 
 
 
 
39
 
40
  ## Usage with ComfyUI
41
 
 
35
 
36
  OzzyGT made a really good guide on how to use this model for outpainting, give it a try [Here](https://github.com/huggingface/diffusers/discussions/7482) !
37
 
38
+ A big thank you to him for pointing me out how to name the files for diffusers compatibility and for the fp16 version, you should be able to use it this way with both normal and fp16 version:
39
+
40
+ ```python
41
+ from diffusers import ControlNetModel
42
+ import torch
43
+
44
+ controlnet = ControlNetModel.from_pretrained(
45
+ "destitech/controlnet-inpaint-dreamer-sdxl", torch_dtype=torch.float16, variant="fp16"
46
+ )
47
+ ```
48
 
49
  ## Usage with ComfyUI
50