save code

This commit is contained in:
xsl
2025-08-13 21:05:28 +08:00
parent ea55aaa0eb
commit 2536be8828
4 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -145,7 +145,7 @@ def takeoff_cloth_first(human_name, is_girl):
if is_girl:
prompt["22"]["inputs"]["image"] = 'girl_cloth_new.jpg'
else:
prompt["22"]["inputs"]["image"] = 'man_cloth_new.jpg'
prompt["22"]["inputs"]["image"] = 'man_cloth_grey.jpg'
# prompt["22"]["inputs"]["image"] = 'man_cloth.jpg'
#input human img
@@ -199,9 +199,9 @@ def generate_from_face(human_name, sex_girl):
prompt["93"]["inputs"]["image"] = human_name
if sex_girl:
prompt["6"]["inputs"]["text"] = "asian girl,full body shot(1.9), 8-head tall, complete figure,front-facing,model pose,hands are at the sides of the body,smile,wearing black tube top and micro skirt,simple ,white background,32k,high detail,and face is illuminated by soft side light and natural light. The sunlight spills over the white wall behind."
prompt["6"]["inputs"]["text"] = "asian girl,knee-length shot ,model pose,hands are at the sides of the body,smile,wearing black tube top and micro skirt,simple ,white background,32k,high detail,and face is illuminated by soft side light and natural light. The sunlight spills over the white wall behind."
else:
prompt["6"]["inputs"]["text"] = "asian man,full body shot(1.9), 8-head tall, complete figure,front-facing,model pose,hands are at the sides of the body,smile,wearing black tight shortst,simple white background,32k,high detail,and face is illuminated by soft side light and natural light. The sunlight spills over the white wall behind."
prompt["6"]["inputs"]["text"] = "asian man,tall,knee-length shot,model pose,hands are at the sides of the body,smile,wearing black short pants,simple white background,The sunlight spills over the white wall behind,32k."
#out put name
out_img_name = str(uuid.uuid4())[:8]
+2 -2
View File
@@ -43,13 +43,13 @@ if selfComputer == "5090":
change_only_name = "change_new_only_change.json"
# change_with_add_cloth = "change_new_debug.json"
change_with_add_cloth = change_only_name
xiezhen_name = "xiezhen_girl.json"
xiezhen_name = "xiezhen-0812-40s_api.json"
base64_test_port = 28888
else:
change_only_name = "change_new_only_3090.json"
# change_with_add_cloth = "change_new_3090.json"
change_with_add_cloth = change_only_name
xiezhen_name = "xiezhen_girl.json"
xiezhen_name = "xiezhen-0812-40s_api.json"
base64_test_port = 18888
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB