diff --git a/change_app.py b/change_app.py index f21e356..d64e38a 100644 --- a/change_app.py +++ b/change_app.py @@ -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] diff --git a/config.py b/config.py index 6ce5e52..e93a393 100644 --- a/config.py +++ b/config.py @@ -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 diff --git a/man_cloth_black.jpg b/man_cloth_black.jpg new file mode 100755 index 0000000..6fc69f5 Binary files /dev/null and b/man_cloth_black.jpg differ diff --git a/man_cloth_grey.jpg b/man_cloth_grey.jpg new file mode 100755 index 0000000..f66409f Binary files /dev/null and b/man_cloth_grey.jpg differ