Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
8c49122
1
Parent(s):
4e9fcb9
Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,8 @@ state_dict = load_file("unaestheticXL_Alb2.safetensors")
|
|
25 |
pipe_normal.load_textual_inversion(state_dict["clip_g"], token="unaestheticXL_Alb2", text_encoder=pipe_normal.text_encoder_2, tokenizer=pipe_normal.tokenizer_2)
|
26 |
pipe_normal.load_textual_inversion(state_dict["clip_l"], token="unaestheticXL_Alb2", text_encoder=pipe_normal.text_encoder, tokenizer=pipe_normal.tokenizer)
|
27 |
|
|
|
|
|
28 |
pipe_normal.to("cuda")
|
29 |
|
30 |
pipe_normal.enable_freeu(s1=1.2, s2=0.7, b1=1.1, b2=1.3)
|
|
|
25 |
pipe_normal.load_textual_inversion(state_dict["clip_g"], token="unaestheticXL_Alb2", text_encoder=pipe_normal.text_encoder_2, tokenizer=pipe_normal.tokenizer_2)
|
26 |
pipe_normal.load_textual_inversion(state_dict["clip_l"], token="unaestheticXL_Alb2", text_encoder=pipe_normal.text_encoder, tokenizer=pipe_normal.tokenizer)
|
27 |
|
28 |
+
pipeline.load_lora_weights("fix_hands.pt")
|
29 |
+
|
30 |
pipe_normal.to("cuda")
|
31 |
|
32 |
pipe_normal.enable_freeu(s1=1.2, s2=0.7, b1=1.1, b2=1.3)
|