Spaces:
Runtime error
Runtime error
alfredplpl
commited on
Commit
β’
3f3e9be
1
Parent(s):
1622413
Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,8 @@ pipe_normal.load_textual_inversion(state_dict["clip_l"], token="unaestheticXLv31
|
|
23 |
|
24 |
pipe_normal.to("cuda")
|
25 |
|
|
|
|
|
26 |
compel = Compel(tokenizer=[pipe_normal.tokenizer, pipe_normal.tokenizer_2] ,
|
27 |
text_encoder=[pipe_normal.text_encoder, pipe_normal.text_encoder_2],
|
28 |
returned_embeddings_type=ReturnedEmbeddingsType.PENULTIMATE_HIDDEN_STATES_NON_NORMALIZED,
|
|
|
23 |
|
24 |
pipe_normal.to("cuda")
|
25 |
|
26 |
+
pipe_normal.enable_freeu(s1=0.9, s2=0.2, b1=1.3, b2=1.4)
|
27 |
+
|
28 |
compel = Compel(tokenizer=[pipe_normal.tokenizer, pipe_normal.tokenizer_2] ,
|
29 |
text_encoder=[pipe_normal.text_encoder, pipe_normal.text_encoder_2],
|
30 |
returned_embeddings_type=ReturnedEmbeddingsType.PENULTIMATE_HIDDEN_STATES_NON_NORMALIZED,
|