Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ import torch
|
|
16 |
from diffusers import FluxPipeline
|
17 |
|
18 |
torch.backends.cuda.matmul.allow_tf32 = True
|
19 |
-
|
20 |
class timer:
|
21 |
def __init__(self, method_name="timed process"):
|
22 |
self.method = method_name
|
@@ -38,7 +38,7 @@ def load_and_fuse_lora_weights(pipe, lora_models):
|
|
38 |
|
39 |
# List of LoRA models and their corresponding scales
|
40 |
lora_models = [
|
41 |
-
("mrcuddle/live2d-model-maker", "LIVE2D-FLUX.safetensors", 0.
|
42 |
]
|
43 |
|
44 |
pipe = FluxPipeline.from_pretrained("advokat/AnimePro-FLUX", torch_dtype=torch.bfloat16)
|
|
|
16 |
from diffusers import FluxPipeline
|
17 |
|
18 |
torch.backends.cuda.matmul.allow_tf32 = True
|
19 |
+
|
20 |
class timer:
|
21 |
def __init__(self, method_name="timed process"):
|
22 |
self.method = method_name
|
|
|
38 |
|
39 |
# List of LoRA models and their corresponding scales
|
40 |
lora_models = [
|
41 |
+
("mrcuddle/live2d-model-maker", "LIVE2D-FLUX.safetensors", 0.125)
|
42 |
]
|
43 |
|
44 |
pipe = FluxPipeline.from_pretrained("advokat/AnimePro-FLUX", torch_dtype=torch.bfloat16)
|