Spaces:
Running
on
Zero
Running
on
Zero
SunderAli17
commited on
Commit
•
7bfc133
1
Parent(s):
d976653
Update ToonMage/fluxpipeline.py
Browse files- ToonMage/fluxpipeline.py +2 -2
ToonMage/fluxpipeline.py
CHANGED
@@ -84,8 +84,8 @@ class ToonMagePipeline(nn.Module):
|
|
84 |
self.debug_img_list = []
|
85 |
|
86 |
def load_pretrain(self, pretrain_path=None):
|
87 |
-
hf_hub_download('SunderAli17/SAK', '
|
88 |
-
ckpt_path = 'models/
|
89 |
if pretrain_path is not None:
|
90 |
ckpt_path = pretrain_path
|
91 |
state_dict = load_file(ckpt_path)
|
|
|
84 |
self.debug_img_list = []
|
85 |
|
86 |
def load_pretrain(self, pretrain_path=None):
|
87 |
+
hf_hub_download('SunderAli17/SAK', 'toonmage_flux_v2.safetensors', local_dir='models')
|
88 |
+
ckpt_path = 'models/toonmage_flux_v2.safetensors'
|
89 |
if pretrain_path is not None:
|
90 |
ckpt_path = pretrain_path
|
91 |
state_dict = load_file(ckpt_path)
|