CoolFace
Apppublic

ccds/vits_onnx

sourceHugging Faceupdated 3y agoView on Hugging Face
5likes
App README

onnx inference server in docker container

Copy the demo web from link

Thanks a lot to @CjangCjengh Thanks a lot to wetts

*Only used for entertainment. Don't used for bussiness*

quick start

To use other model and config<br> please use -v /path/to/dir:/app/.model to mount your model and config
shell
export name=vits_onnx
docker stop $name
docker rm $name
docker run -d \
--name $name \
-p 7860:7860 \
ccdesue/vits_demo:onnx
# -v /path/to/dir:/app/.model

dir structure


├── app             # gradio code 
├── build.sh
├── Dockerfile      
├── export          # some util for export model
├── LICENSE
├── poetry.lock
├── __pycache__
├── pyproject.toml
├── README.md
├── setup.sh
└── util        # some posibile util 

Helpful info

  1. 1.please read the source code to better understand
  2. 2.refer to the demo config.json to tail to your own model config
  3. 3.refer the dockerfile

limitation

  1. 1.only test on japanesecleaners and japanesecleaners2 in config.json with raw vits

Reference

  1. 1.vits_export_discussion
  2. 2.other_vits_onnx
  3. 3.wetts
  4. 4.android_vits

license

GPLv2