aifeifei798 commited on
Commit
1a80c1d
·
verified ·
1 Parent(s): dac412d

Update feifeilib/feifeimodload.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeimodload.py +9 -5
feifeilib/feifeimodload.py CHANGED
@@ -11,14 +11,18 @@ def feifeimodload():
11
 
12
  dtype = torch.bfloat16
13
  device = "cuda" if torch.cuda.is_available() else "cpu"
14
- taef1 = AutoencoderTiny.from_pretrained("aifeifei798/taef1", torch_dtype=dtype).to(
15
- device
16
- )
17
 
 
 
 
 
18
  pipe = DiffusionPipeline.from_pretrained(
19
- "aifeifei798/DarkIdol-flux-v1.1", torch_dtype=dtype, vae=taef1
20
  ).to(device)
21
-
22
  pipe.load_lora_weights(
23
  hf_hub_download("aifeifei798/feifei-flux-lora-v1", "feifei.safetensors"),
24
  adapter_name="feifei",
 
11
 
12
  dtype = torch.bfloat16
13
  device = "cuda" if torch.cuda.is_available() else "cpu"
14
+ #taef1 = AutoencoderTiny.from_pretrained("aifeifei798/taef1", torch_dtype=dtype).to(
15
+ # device
16
+ #)
17
 
18
+ #pipe = DiffusionPipeline.from_pretrained(
19
+ # "aifeifei798/DarkIdol-flux-v1.1", torch_dtype=dtype, vae=taef1
20
+ #).to(device)
21
+
22
  pipe = DiffusionPipeline.from_pretrained(
23
+ "shuttleai/shuttle-3.1-aesthetic", torch_dtype=dtype
24
  ).to(device)
25
+
26
  pipe.load_lora_weights(
27
  hf_hub_download("aifeifei798/feifei-flux-lora-v1", "feifei.safetensors"),
28
  adapter_name="feifei",