vits_onnx / README.md
chocolatedesue
add metedata
b9ccf6e
|
raw
history blame
1.68 kB
metadata
title: vits_onnx
emoji: 🐳
colorFrom: purple
colorTo: gray
sdk: docker
app_port: 7860

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
please use -v /path/to/dir:/app/.model to mount your model and config

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. please read the source code to better understand
  2. refer to the demo config.json to tail to your own model config
  3. refer the dockerfile

limitation

  1. only test on japanese_cleaners and japanese_cleaners2 in config.json with raw vits

Reference

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

license

GPLv2