Skip to content

Commit

Permalink
构建项目配置
Browse files Browse the repository at this point in the history
  • Loading branch information
glide-the committed Dec 8, 2023
1 parent 871a6b9 commit 5e1b0c0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Dockerfile-work
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions src/projects/speakers/speakers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5e1b0c0

Please sign in to comment.