SOTA-Class TTS at Compact Scale
Python
Bypass proxy for local service health check
chuarunyuan584bfe5088f8
diff --git a/onnx_runtime_0_1b_int8/start_server.sh b/onnx_runtime_0_1b_int8/start_server.shindex 2c03aa2..97a98ee 100755--- a/onnx_runtime_0_1b_int8/start_server.sh+++ b/onnx_runtime_0_1b_int8/start_server.sh@@ -14,7 +14,8 @@ PORT="$PORT" nohup "$ROOT/run_server.sh" >"$ROOT/service.log" 2>&1 &PID=$!echo "$PID" >"$PID_FILE"for _ in {1..60}; do- if curl -fsS "http://127.0.0.1:$PORT/api/health" >/dev/null 2>&1; then+ if NO_PROXY=127.0.0.1,localhost no_proxy=127.0.0.1,localhost \+ curl -fsS "http://127.0.0.1:$PORT/api/health" >/dev/null 2>&1; thenecho "Audio8 0.1B TTS is ready: http://127.0.0.1:$PORT"exit 0fi