save code
This commit is contained in:
+2
-2
@@ -316,7 +316,7 @@ def change(human_name, cloth_name, c_width, c_height, cloth_url, human_url, no2,
|
||||
print(f'不用第二部 no2{no2}')
|
||||
else:
|
||||
print(f'要第二部 no2{no2} 先搞第一步')
|
||||
if sgwzd >= 0.55:
|
||||
if sgwzd >= 0.70:
|
||||
#脱衣服
|
||||
takeoff_file_name = takeoff_cloth_first(human_name, sex_girl)
|
||||
print(f"takeoff_file_name:{takeoff_file_name} human_name:{human_name} sex_girl:{sex_girl}")
|
||||
@@ -1043,4 +1043,4 @@ def change_cloth_base64():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host="0.0.0.0", port=base64_test_port, debug=True)
|
||||
app.run(host="0.0.0.0", port=base64_test_port, debug=False)
|
||||
@@ -15,7 +15,7 @@ STATIC_FOLDER = os.path.join(APP_ROOT, 'static')
|
||||
app = Flask(__name__, static_folder=STATIC_FOLDER, static_url_path='/static')
|
||||
CORS(app)
|
||||
|
||||
CHANGE_APP_BASE_URL = "http://127.0.0.1:28888"
|
||||
CHANGE_APP_BASE_URL = "http://127.0.0.1:28889"
|
||||
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
@@ -254,5 +254,5 @@ def do_change_cloth():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
log_message(f"Starting change_cloth_proxy service on port 5000, forwarding to {CHANGE_APP_BASE_URL}")
|
||||
app.run(host="0.0.0.0", port=5000, debug=True, threaded=True)
|
||||
log_message(f"Starting change_cloth_proxy service on port 28888, forwarding to {CHANGE_APP_BASE_URL}")
|
||||
app.run(host="0.0.0.0", port=28888, debug=False, threaded=True)
|
||||
|
||||
@@ -44,7 +44,7 @@ if selfComputer == "5090":
|
||||
change_only_name = "change_new_only_change.json"
|
||||
change_with_add_cloth = "change_new_debug_api.json"
|
||||
xiezhen_name = "xiezhen-0812-40s_api.json"
|
||||
base64_test_port = 28888
|
||||
base64_test_port = 28889
|
||||
else:
|
||||
change_tuodi_input = 'change_tuodi_input_3090_api.json'
|
||||
change_only_name = "change_new_only_3090.json"
|
||||
|
||||
Reference in New Issue
Block a user