Spaces:
Sleeping
Sleeping
Update clothGen.py
Browse files- clothGen.py +2 -3
clothGen.py
CHANGED
@@ -11,11 +11,10 @@ na_prompt = na_prompt_file.to_string(index=False)
|
|
11 |
|
12 |
|
13 |
def cloth_gen(advice, gender):
|
14 |
-
|
15 |
-
# lora_path = "https://huggingface.co/PPSharks/PPSharksModels/resolve/main/NV.safetensors"
|
16 |
if gender == "男":
|
17 |
lora_path = "https://huggingface.co/PPSharks/PPSharksModels/resolve/main/NA.safetensors"
|
18 |
-
else:
|
19 |
lora_path = "https://huggingface.co/PPSharks/PPSharksModels/resolve/main/NV.safetensors"
|
20 |
|
21 |
prompt = prompt_gen(advice, gender)
|
|
|
11 |
|
12 |
|
13 |
def cloth_gen(advice, gender):
|
14 |
+
lora_path = "https://huggingface.co/PPSharks/PPSharksModels/resolve/main/NA.safetensors"
|
|
|
15 |
if gender == "男":
|
16 |
lora_path = "https://huggingface.co/PPSharks/PPSharksModels/resolve/main/NA.safetensors"
|
17 |
+
else if gender == "女":
|
18 |
lora_path = "https://huggingface.co/PPSharks/PPSharksModels/resolve/main/NV.safetensors"
|
19 |
|
20 |
prompt = prompt_gen(advice, gender)
|