Spaces:
Running
on
Zero
Running
on
Zero
SunderAli17
commited on
Commit
•
c937232
1
Parent(s):
b0056fe
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ class FluxGenerator:
|
|
34 |
offload=self.offload,
|
35 |
)
|
36 |
self.toonmage_model = ToonMagePipeline(self.model, 'cuda', weight_dtype=torch.bfloat16)
|
37 |
-
self.
|
38 |
|
39 |
|
40 |
flux_generator = FluxGenerator()
|
|
|
34 |
offload=self.offload,
|
35 |
)
|
36 |
self.toonmage_model = ToonMagePipeline(self.model, 'cuda', weight_dtype=torch.bfloat16)
|
37 |
+
self.toonmage_model.load_pretrain()
|
38 |
|
39 |
|
40 |
flux_generator = FluxGenerator()
|