change to api

This commit is contained in:
samiabat 2025-03-24 10:13:54 +03:00
parent 9450cd951d
commit 8c8f9e7b40
2 changed files with 2 additions and 2 deletions

View File

@ -87,4 +87,4 @@ RUN sed -i '10s/False/True/' config.py
EXPOSE 5000 EXPOSE 5000
# Set entrypoint to launch WebUI # Set entrypoint to launch WebUI
CMD ["python", "webui.py"] CMD ["python", "api.py"]

View File

@ -27,7 +27,7 @@ webui_port_uvr5 = 9873
webui_port_infer_tts = 9872 webui_port_infer_tts = 9872
webui_port_subfix = 9871 webui_port_subfix = 9871
api_port = 9880 api_port = 5000
if infer_device == "cuda": if infer_device == "cuda":
gpu_name = torch.cuda.get_device_name(0) gpu_name = torch.cuda.get_device_name(0)