Sign inSign up

killgfat/voice-changer

By killgfat

•Updated about 2 years ago

Image
0

246

killgfat/voice-changer repository overview

A unoffical dockerized voice-changer⁠

docker-compose.yml

version: "3"
services:
  voice-changer:
    image: killgfat/voice-changer
    container_name: voice-changer
    command: -p 18888 --https true --content_vec_500 pretrain/checkpoint_best_legacy_500.pt --content_vec_500_onnx pretrain/content_vec_500.onnx --content_vec_500_onnx_on true --hubert_base pretrain/hubert_base.pt --hubert_base_jp pretrain/rinna_hubert_base_jp.pt --hubert_soft pretrain/hubert/hubert-soft-0d54a1f4.pt --nsf_hifigan pretrain/nsf_hifigan/model --crepe_onnx_full pretrain/crepe_onnx_full.onnx --crepe_onnx_tiny pretrain/crepe_onnx_tiny.onnx --rmvpe pretrain/rmvpe.pt --model_dir model_dir --samples samples.json
    environment:
      - EX_IP=127.0.0.1 #the ip you use to access the webui
      - EX_PORT=18887
    restart: unless-stopped
    volumes:
      - "./model:/voice-changer/server/model_dir"
      - "./pretrain:/voice-changer/server/pretrain"
    network_mode: host
    # ports:
      # - 18888:18888
    runtime: nvidia
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]
  vc-relay:
    image: alpine/socat
    container_name: vc-relay
    depends_on:
      - voice-changer
    command: "TCP-LISTEN:18887,fork,reuseaddr TCP:127.0.0.1:18888"
    network_mode: host
    restart: unless-stopped

Tag summary

Content type

Image

Digest

sha256:61b8d6704…

Size

6.4 GB

Last updated

about 2 years ago

docker pull killgfat/voice-changer