File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
docs/source/en/using-diffusers Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -94,5 +94,15 @@ a try!
94
94
If your favorite pipeline does not have a `prompt_embeds` input, please make sure to open an issue, the
95
95
diffusers team tries to be as responsive as possible.
96
96
97
+ Compel 1.1.6 adds a utility class to simplify using textual inversions. Instantiate a `DiffusersTextualInversionManager` and pass it to Compel init:
98
+
99
+ ```
100
+ textual_inversion_manager = DiffusersTextualInversionManager(pipe)
101
+ compel = Compel(
102
+ tokenizer =pipe.tokenizer,
103
+ text_encoder =pipe.text_encoder,
104
+ textual_inversion_manager =textual_inversion_manager)
105
+ ```
106
+
97
107
Also, please check out the documentation of the [compel](https://github.com/damian0815/compel) library for
98
108
more information.
You can’t perform that action at this time.
0 commit comments