diff --git a/Dockerfile b/Dockerfile index 8d4f72c3..08f0cdd9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -87,4 +87,4 @@ RUN sed -i '10s/False/True/' config.py EXPOSE 5000 # Set entrypoint to launch WebUI -CMD ["python", "webui.py"] +CMD ["python", "api.py"] diff --git a/config.py b/config.py index 1f741285..9df4b3ed 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 = 9880 +api_port = 5000 if infer_device == "cuda": gpu_name = torch.cuda.get_device_name(0)