diff --git a/Dockerfile b/Dockerfile index 6b30195..8804b08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,6 +40,6 @@ RUN cd /code/src && \ RUN cd /code/src/projects/speakers/dist && \ pip install speakers-0.1.0-py3-none-any.whl -CMD ["python", "-m", "speakers.start.start", "--speakers-config-file","/RVC-Speakers-hub/speakers.yaml", "--verbose", "--mode", "web"] +CMD ["python", "-m", "speakers.start.start", "--speakers-config-file","/media/checkpoint/RVC-Speakers-hub/speakers.yaml", "--verbose", "--mode", "web"] EXPOSE 10001 diff --git a/Dockerfile-work b/Dockerfile-work index 3fd1601..aa77b82 100644 --- a/Dockerfile-work +++ b/Dockerfile-work @@ -45,6 +45,6 @@ RUN cd /code/src/components/speakers/vits/monotonic_align && \ #RUN cd /code/src/projects/speakers/dist && \ # pip install speakers-0.1.0-py3-none-any.whl -CMD ["python", "-m", "speakers.start.start", "--speakers-config-file","/RVC-Speakers-hub/speakers.yaml", "--verbose", "--mode", "web"] +CMD ["python", "-m", "speakers.start.start", "--speakers-config-file","/media/checkpoint/RVC-Speakers-hub/speakers.yaml", "--verbose", "--mode", "web"] EXPOSE 10001 diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index e446fbf..8022ad1 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -6,7 +6,7 @@ services: image: rvc_speakers:latest container_name: rvc_speakers volumes: - - /media/checkpoint/RVC-Speakers-hub:/RVC-Speakers-hub + - /media/checkpoint/RVC-Speakers-hub:/media/checkpoint/RVC-Speakers-hub ulimits: nofile: soft: 1000000 diff --git a/src/projects/speakers/speakers.yaml b/src/projects/speakers/speakers.yaml index f3ca7ff..debb373 100644 --- a/src/projects/speakers/speakers.yaml +++ b/src/projects/speakers/speakers.yaml @@ -6,19 +6,19 @@ preprocess: - vits_processor: name: "vits_to_voice" - vits_model_path: "/RVC-Speakers-hub/vits/model/G_953000.pth" - voice_config_file: "/RVC-Speakers-hub/vits/model/config.json" + vits_model_path: "/media/checkpoint/RVC-Speakers-hub/vits/model/G_953000.pth" + voice_config_file: "/media/checkpoint/RVC-Speakers-hub/vits/model/config.json" - rvc_processor: name: "rvc_speakers" - hubert_model_path: "/RVC-Speakers-hub/rvc/model/hubert_base.pt" - rvc_config_file: "/RVC-Speakers-hub/rvc/rvc.yaml" + hubert_model_path: "/media/checkpoint/RVC-Speakers-hub/rvc/model/hubert_base.pt" + rvc_config_file: "/media/checkpoint/RVC-Speakers-hub/rvc/rvc.yaml" - bark_processor: name: "bark_to_voice" - codec_repository_path: "/RVC-Speakers-hub/bark/model/codec" - tokenizer_path: "/RVC-Speakers-hub/bark/model/bert-base-multilingual-cased" - text_model_path: "/RVC-Speakers-hub/bark/model/suno/bark_v0/text_2.pt" - coarse_model_path: "/RVC-Speakers-hub/bark/model/suno/bark_v0/coarse_2.pt" - fine_model_path: "/RVC-Speakers-hub/bark/model/suno/bark_v0/fine_2.pt" + codec_repository_path: "/media/checkpoint/RVC-Speakers-hub/bark/model/codec" + tokenizer_path: "/media/checkpoint/RVC-Speakers-hub/bark/model/bert-base-multilingual-cased" + text_model_path: "/media/checkpoint/RVC-Speakers-hub/bark/model/suno/bark_v0/text_2.pt" + coarse_model_path: "/media/checkpoint/RVC-Speakers-hub/bark/model/suno/bark_v0/coarse_2.pt" + fine_model_path: "/media/checkpoint/RVC-Speakers-hub/bark/model/suno/bark_v0/fine_2.pt" - edge_processor: name: "edge_to_voice"