save code
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
/usr/local/miniconda3/envs/py312/lib/python3.12/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (7.0.1)/charset_normalizer (3.4.5) doesn't match a supported version!
|
|
||||||
warnings.warn(
|
|
||||||
INFO: Started server process [9669]
|
|
||||||
INFO: Waiting for application startup.
|
|
||||||
INFO: Application startup complete.
|
|
||||||
INFO: Uvicorn running on http://0.0.0.0:12222 (Press CTRL+C to quit)
|
|
||||||
+2
-2
@@ -26,8 +26,8 @@ from pydantic import BaseModel
|
|||||||
|
|
||||||
import oss2
|
import oss2
|
||||||
|
|
||||||
COMFYUI_URL = "http://127.0.0.1:8188"
|
# COMFYUI_URL = "http://127.0.0.1:8188"
|
||||||
# COMFYUI_URL = "http://117.50.80.187:47697"
|
COMFYUI_URL = "http://112.126.94.241:28188"
|
||||||
WORKFLOW_PATH = Path(__file__).parent / "change2_1_ex.json"
|
WORKFLOW_PATH = Path(__file__).parent / "change2_1_ex.json"
|
||||||
|
|
||||||
# WORKFLOW_PATH = Path(__file__).parent / "change_fast2.json"
|
# WORKFLOW_PATH = Path(__file__).parent / "change_fast2.json"
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
/usr/local/miniconda3/envs/py312/lib/python3.12/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (7.0.1)/charset_normalizer (3.4.5) doesn't match a supported version!
|
|
||||||
warnings.warn(
|
|
||||||
INFO: Started server process [9612]
|
|
||||||
INFO: Waiting for application startup.
|
|
||||||
INFO: Application startup complete.
|
|
||||||
INFO: Uvicorn running on http://0.0.0.0:12223 (Press CTRL+C to quit)
|
|
||||||
静态文件目录: /root/change_cloth_server/change3/static
|
|
||||||
接收到换装请求,正在处理...
|
|
||||||
文件上传成功,URL: http://xiangsilian.oss-cn-beijing.aliyuncs.com/tryon%2F627bcee434384a7b847faf2dbbce90ae.png?OSSAccessKeyId=LTAI5tGp1sLzedqxihcNC1eb&Expires=2088730306&Signature=aATPXbjJCE3ArJnYfRyvSVSI8EE%3D
|
|
||||||
INFO: 127.0.0.1:39178 - "POST /try-on HTTP/1.1" 200 OK
|
|
||||||
+2
-2
@@ -25,8 +25,8 @@ from fastapi.responses import FileResponse
|
|||||||
from fastapi.staticfiles import StaticFiles
|
from fastapi.staticfiles import StaticFiles
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
|
|
||||||
COMFYUI_URL = "http://127.0.0.1:8188"
|
# COMFYUI_URL = "http://127.0.0.1:8188"
|
||||||
# COMFYUI_URL = "http://117.50.80.187:47697"
|
COMFYUI_URL = "http://112.126.94.241:28188"
|
||||||
WORKFLOW_PATH = Path(__file__).parent / "change2_2_0308.json"
|
WORKFLOW_PATH = Path(__file__).parent / "change2_2_0308.json"
|
||||||
|
|
||||||
# WORKFLOW_PATH = Path(__file__).parent / "change_fast3.json"
|
# WORKFLOW_PATH = Path(__file__).parent / "change_fast3.json"
|
||||||
|
|||||||
+1
-1
@@ -69,7 +69,7 @@ def change_cloth_base64():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run(host="0.0.0.0", port=28889, debug=True)
|
app.run(host="0.0.0.0", port=28888, debug=True)
|
||||||
|
|
||||||
# if __name__ == '__main__':
|
# if __name__ == '__main__':
|
||||||
# # 证书路径(替换为你的域名)
|
# # 证书路径(替换为你的域名)
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
/usr/local/miniconda3/envs/py312/lib/python3.12/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (7.0.1)/charset_normalizer (3.4.5) doesn't match a supported version!
|
|
||||||
warnings.warn(
|
|
||||||
* Serving Flask app 'change_app'
|
|
||||||
* Debug mode: off
|
|
||||||
[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
|
||||||
* Running on all addresses (0.0.0.0)
|
|
||||||
* Running on http://127.0.0.1:28888
|
|
||||||
* Running on http://10.60.190.115:28888
|
|
||||||
[33mPress CTRL+C to quit[0m
|
|
||||||
1.202.76.38 - - [13/Mar/2026 02:51:46] "POST /change_cloth_base64 HTTP/1.1" 200 -
|
|
||||||
Reference in New Issue
Block a user