From 4354225311f0b035e74bdb1fe36cf4c9c5c85f11 Mon Sep 17 00:00:00 2001 From: samiabat Date: Tue, 25 Mar 2025 01:06:30 +0300 Subject: [PATCH] fix port --- Dockerfile | 2 +- config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ecd4034b..b7a31e3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,6 @@ RUN if [ "$IMAGE_TYPE" != "elite" ]; then \ # Copy the rest of the application COPY . /workspace -EXPOSE 5000 +EXPOSE 9871 9872 9873 9874 9880 CMD ["python", "api.py"] \ No newline at end of file diff --git a/config.py b/config.py index 9df4b3ed..1f741285 100644 --- a/config.py +++ b/config.py @@ -27,7 +27,7 @@ webui_port_uvr5 = 9873 webui_port_infer_tts = 9872 webui_port_subfix = 9871 -api_port = 5000 +api_port = 9880 if infer_device == "cuda": gpu_name = torch.cuda.get_device_name(0)