diff --git a/hairline/service.py b/hairline/service.py index 99667b4..41c026d 100644 --- a/hairline/service.py +++ b/hairline/service.py @@ -41,8 +41,8 @@ _TEXTURE_DIR = os.path.join(_REPO, "hairline_texture") _BLACK_TEXTURE_DIR = os.path.join(_REPO, "hairline_texture_black") # 外部重绘服务(local_test,0716add-hair.json 工作流)。接口2 female 用它替代原 Flux-2 重绘。 -# 可用 HAIR_LOCAL_REDRAW_URL 覆盖(如线上改地址),默认 http://127.0.0.1:8899。 -_LOCAL_REDRAW_URL = os.getenv("HAIR_LOCAL_REDRAW_URL", "http://127.0.0.1:8899").rstrip("/") +# 重绘服务已独立到远程机器;可用 HAIR_LOCAL_REDRAW_URL 覆盖。 +_LOCAL_REDRAW_URL = os.getenv("HAIR_LOCAL_REDRAW_URL", "http://117.50.183.232:8899").rstrip("/") def _call_local_redraw(image_png_bytes, mask_png_bytes, timeout=300.0): diff --git a/static/test_interface12.html b/static/test_interface12.html index 5c39a8e..b5c84ee 100644 --- a/static/test_interface12.html +++ b/static/test_interface12.html @@ -68,7 +68,7 @@
- +
diff --git a/static/test_interface12_final.html b/static/test_interface12_final.html index 0c52755..0b4c049 100644 --- a/static/test_interface12_final.html +++ b/static/test_interface12_final.html @@ -55,7 +55,7 @@
- +