File tree Expand file tree Collapse file tree 1 file changed +41
-2
lines changed
Expand file tree Collapse file tree 1 file changed +41
-2
lines changed Original file line number Diff line number Diff line change 11# SBV2 GUI
2- リリースからダウンロードし、ダブルクリックした後しばらく待機すると起動します。
3- 現段階ではCPUのみ & x86_64のWindowsのみ対応です。
2+ ## 使い方
3+ [ リリース] ( https://github.com/tuna2134/sbv2-gui/releases ) からダウンロードし、ダブルクリックした後しばらく待機すると起動します。
4+ 現段階ではCPUのみ & x86_64のWindowsのみ対応です。
5+
6+ ## 既存のモデルの変換方法
7+ [ こちら] ( https://github.com/tuna2134/sbv2-api/tree/main/convert ) を参照してください。
8+
9+ ## HTTP APIを使いたい
10+ ` ./models ` に.sbv2ファイルおよび[ ` debert.onnx ` ] ( https://huggingface.co/googlefan/sbv2_onnx_models/resolve/main/deberta.onnx?download=true ) 、[ ` tokenizer.json ` ] ( https://huggingface.co/googlefan/sbv2_onnx_models/resolve/main/tokenizer.json?download=true ) を格納した後に、
11+ ` .env ` に
12+ ``` env
13+ BERT_MODEL_PATH=models/deberta.onnx
14+ TOKENIZER_PATH=models/tokenizer.json
15+ ```
16+ を記入し、
17+ CPUの場合は
18+ ``` sh
19+ docker run -it --rm -p 3000:3000 --name sbv2 \
20+ -v ./models:/work/models --env-file .env \
21+ ghcr.io/tuna2134/sbv2-api:cpu
22+ ```
23+ CUDAの場合は
24+ ```
25+ docker run -it --rm -p 3000:3000 --name sbv2 \
26+ -v ./models:/work/models --env-file .env \
27+ --gpus all \
28+ ghcr.io/tuna2134/sbv2-api:cuda
29+ ```
30+ とすることで http://localhost:3000/ にて立ち上がります。
31+ APIの利用方法については以下のcurlコマンドを参考にしてください。
32+ ``` sh
33+ curl -XPOST -H " Content-type: application/json" -d ' {"text": "こんにちは","ident": "tsukuyomi"}' ' http://localhost:3000/synthesize' --output " output.wav"
34+ curl http://localhost:3000/models
35+ ```
36+
37+ ## アイコン
38+ Flux devで
39+ Prompt: ` Style bert vits2 simple logo `
40+ Seed: ` 1 `
41+ で生成したものです。
42+ ![ アイコン] ( https://raw.githubusercontent.com/tuna2134/sbv2-gui/main/public/icon.png )
You can’t perform that action at this time.
0 commit comments