diff --git a/hairline/service.py b/hairline/service.py index 41c026d..65de667 100644 --- a/hairline/service.py +++ b/hairline/service.py @@ -42,7 +42,8 @@ _BLACK_TEXTURE_DIR = os.path.join(_REPO, "hairline_texture_black") # 外部重绘服务(local_test,0716add-hair.json 工作流)。接口2 female 用它替代原 Flux-2 重绘。 # 重绘服务已独立到远程机器;可用 HAIR_LOCAL_REDRAW_URL 覆盖。 -_LOCAL_REDRAW_URL = os.getenv("HAIR_LOCAL_REDRAW_URL", "http://117.50.183.232:8899").rstrip("/") +# gpu_worker 同内网走 10.60.74.221,外网(本地开发机)需走公网 117.50.183.232。 +_LOCAL_REDRAW_URL = os.getenv("HAIR_LOCAL_REDRAW_URL", "http://10.60.74.221: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 b5c84ee..5425443 100644 --- a/static/test_interface12.html +++ b/static/test_interface12.html @@ -68,7 +68,7 @@