3v324v23 commited on
Commit
a0385c7
·
1 Parent(s): 12f464e

change lora path to root'

Browse files
Files changed (1) hide show
  1. handler.py +17 -17
handler.py CHANGED
@@ -29,41 +29,41 @@ if device.type != "cuda":
29
 
30
  class EndpointHandler:
31
  LORA_PATHS = {
32
- "hairdetailer": "hairdetailer.safetensors",
33
- "lora_leica": "lora_leica.safetensors",
34
- "epiNoiseoffset_v2": "epiNoiseoffset_v2.safetensors",
35
- "MBHU-TT2FRS": "MBHU-TT2FRS.safetensors",
36
- "ShinyOiledSkin_v20": "ShinyOiledSkin_v20-LoRA.safetensors",
37
- "polyhedron_new_skin_v1.1": "polyhedron_new_skin_v1.1.safetensors",
38
- "detailed_eye-10": "detailed_eye-10.safetensors",
39
- "add_detail": "add_detail.safetensors",
40
- "MuscleGirl_v1": "MuscleGirl_v1.safetensors",
41
  }
42
 
43
  TEXTUAL_INVERSION = [
44
  {
45
- "weight_name": "EasyNegative.safetensors",
46
  "token": "easynegative",
47
  },
48
  {
49
- "weight_name": "EasyNegative.safetensors",
50
  "token": "EasyNegative",
51
  },
52
- {"weight_name": "badhandv4.pt", "token": "badhandv4"},
53
  {
54
- "weight_name": "bad-artist-anime.pt",
55
  "token": "bad-artist-anime",
56
  },
57
- {"weight_name": "NegfeetV2.pt", "token": "NegfeetV2"},
58
  {
59
- "weight_name": "ng_deepnegative_v1_75t.pt",
60
  "token": "ng_deepnegative_v1_75t",
61
  },
62
  {
63
- "weight_name": "ng_deepnegative_v1_75t.pt",
64
  "token": "NG_DeepNegative_V1_75T",
65
  },
66
- {"weight_name": "bad-hands-5.pt", "token": "bad-hands-5"},
67
  ]
68
 
69
  def __init__(self, path="."):
 
29
 
30
  class EndpointHandler:
31
  LORA_PATHS = {
32
+ "hairdetailer": "isatis/kw/lora/hairdetailer.safetensors",
33
+ "lora_leica": "isatis/kw/lora/lora_leica.safetensors",
34
+ "epiNoiseoffset_v2": "isatis/kw/lora/epiNoiseoffset_v2.safetensors",
35
+ "MBHU-TT2FRS": "isatis/kw/lora/MBHU-TT2FRS.safetensors",
36
+ "ShinyOiledSkin_v20": "isatis/kw/lora/ShinyOiledSkin_v20-LoRA.safetensors",
37
+ "polyhedron_new_skin_v1.1": "isatis/kw/lora/polyhedron_new_skin_v1.1.safetensors",
38
+ "detailed_eye-10": "isatis/kw/lora/detailed_eye-10.safetensors",
39
+ "add_detail": "isatis/kw/lora/add_detail.safetensors",
40
+ "MuscleGirl_v1": "isatis/kw/lora/MuscleGirl_v1.safetensors",
41
  }
42
 
43
  TEXTUAL_INVERSION = [
44
  {
45
+ "weight_name": "isatis/kw/embeddings/EasyNegative.safetensors",
46
  "token": "easynegative",
47
  },
48
  {
49
+ "weight_name": "isatis/kw/embeddings/EasyNegative.safetensors",
50
  "token": "EasyNegative",
51
  },
52
+ {"weight_name": "isatis/kw/embeddings/badhandv4.pt", "token": "badhandv4"},
53
  {
54
+ "weight_name": "isatis/kw/embeddings/bad-artist-anime.pt",
55
  "token": "bad-artist-anime",
56
  },
57
+ {"weight_name": "isatis/kw/embeddings/NegfeetV2.pt", "token": "NegfeetV2"},
58
  {
59
+ "weight_name": "isatis/kw/embeddings/ng_deepnegative_v1_75t.pt",
60
  "token": "ng_deepnegative_v1_75t",
61
  },
62
  {
63
+ "weight_name": "isatis/kw/embeddings/ng_deepnegative_v1_75t.pt",
64
  "token": "NG_DeepNegative_V1_75T",
65
  },
66
+ {"weight_name": "isatis/kw/embeddings/bad-hands-5.pt", "token": "bad-hands-5"},
67
  ]
68
 
69
  def __init__(self, path="."):