Spaces:
Runtime error
Runtime error
alfredplpl
commited on
Commit
β’
6f1c60f
1
Parent(s):
8c49122
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ 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 |
-
|
29 |
|
30 |
pipe_normal.to("cuda")
|
31 |
|
|
|
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.load_lora_weights("fix_hands.pt")
|
29 |
|
30 |
pipe_normal.to("cuda")
|
31 |
|