mrcuddle commited on
Commit
b232034
·
verified ·
1 Parent(s): 03ea705

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,7 +16,7 @@ import torch
16
  from diffusers import FluxPipeline
17
 
18
  torch.backends.cuda.matmul.allow_tf32 = True
19
- huggingface_hub.login(os.getenv('HF_TOKEN'))
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.9)
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)