Sqxww commited on
Commit
462cace
·
1 Parent(s): 20e7c98
lora/3d_animation.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70ef383a652ea1c83195ef9781148426bd528cdd90e379648d043df9df9fdcda
3
+ size 306447040
lora/MaoMu_Ghibli.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f3b005e1b0fb00b6efb8f4b49591ea28c85869c782e09a99a67da8bf67e4fd4
3
+ size 153272192
ominicontrol.py CHANGED
@@ -35,6 +35,16 @@ pipe.load_lora_weights(
35
  weight_name=f"v0/snoopy.safetensors",
36
  adapter_name="snoopy",
37
  )
 
 
 
 
 
 
 
 
 
 
38
 
39
 
40
  def generate_image(
@@ -61,6 +71,8 @@ def generate_image(
61
  "Irasutoya Illustration": "irasutoya",
62
  "The Simpsons": "simpsons",
63
  "Snoopy": "snoopy",
 
 
64
  }[style]
65
  pipe.set_adapters(activate_adapter_name)
66
 
 
35
  weight_name=f"v0/snoopy.safetensors",
36
  adapter_name="snoopy",
37
  )
38
+ pipe.load_lora_weights(
39
+ "./lora",
40
+ weight_name=f"MaoMu_Ghibli.safetensors",
41
+ adapter_name="maomu_ghibli",
42
+ )
43
+ pipe.load_lora_weights(
44
+ "./lora",
45
+ weight_name=f"3d_animation.safetensors",
46
+ adapter_name="3d_animation",
47
+ )
48
 
49
 
50
  def generate_image(
 
71
  "Irasutoya Illustration": "irasutoya",
72
  "The Simpsons": "simpsons",
73
  "Snoopy": "snoopy",
74
+ "3D Animation": "3d_animation",
75
+ "MaoMu Ghibli": "maomu_ghibli",
76
  }[style]
77
  pipe.set_adapters(activate_adapter_name)
78