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)