Spaces:
Running
on
Zero
Running
on
Zero
Update feifeilib/feifeimodload.py
Browse files
feifeilib/feifeimodload.py
CHANGED
@@ -59,6 +59,7 @@ def feifeimodload():
|
|
59 |
#)
|
60 |
pipe.load_lora_weights(hf_hub_download("aifeifei798/feifei-flux-lora-v1", "feifei.safetensors"),adapter_name="feifei")
|
61 |
pipe.load_lora_weights("adirik/flux-cinestill")
|
|
|
62 |
pipe.unload_lora_weights()
|
63 |
torch.cuda.empty_cache()
|
64 |
return pipe
|
|
|
59 |
#)
|
60 |
pipe.load_lora_weights(hf_hub_download("aifeifei798/feifei-flux-lora-v1", "feifei.safetensors"),adapter_name="feifei")
|
61 |
pipe.load_lora_weights("adirik/flux-cinestill")
|
62 |
+
pipe.vae.enable_tiling()
|
63 |
pipe.unload_lora_weights()
|
64 |
torch.cuda.empty_cache()
|
65 |
return pipe
|