mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-11 10:57:43 +08:00
change to api
This commit is contained in:
parent
9450cd951d
commit
8c8f9e7b40
@ -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"]
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user