Skip to content

Commit

Permalink
Update readme(Use double quotes) (#168)
Browse files Browse the repository at this point in the history
* Update README_zh.md

* Update README.md
  • Loading branch information
initialencounter authored Jun 24, 2024
1 parent c78c914 commit 2e44d31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ This extra measure helps ensure absolute security when making the admin backend

## Bert-VITS2 Configuration and Language/Bert Model Usage

Starting from Bert-VITS2 v2.0, a model requires loading three different language Bert models. If you only need to use one or two languages, you can add the `lang` parameter in the `config.json` file of the model's data section. The value `['zh']` indicates that the model only uses Chinese and will load Chinese Bert models. The value `['zh', 'ja']` indicates the usage of both Chinese and Japanese bilingual models, and only Chinese and Japanese Bert models will be loaded. Similarly, this pattern continues for other language combinations.
Starting from Bert-VITS2 v2.0, a model requires loading three different language Bert models. If you only need to use one or two languages, you can add the `lang` parameter in the `config.json` file of the model's data section. The value `["zh"]` indicates that the model only uses Chinese and will load Chinese Bert models. The value `["zh", "ja"]` indicates the usage of both Chinese and Japanese bilingual models, and only Chinese and Japanese Bert models will be loaded. Similarly, this pattern continues for other language combinations.

Example:

Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ http://127.0.0.1:23456

## Bert-VITS2配置使用语言/Bert模型

在Bert-VITS2 v2.0以后,一个模型需要加载三个不同语言的Bert模型。如果只需要使用其中一或两种语言,可以在模型的config.json的data中,添加`lang`参数,值为`['zh']`,表示该模型只使用中文,同时也只会加载中文的Bert模型。值为`['zh','ja']`表示只使用中日双语,同时也只会加载中文和日文的Bert模型。以此类推。
在Bert-VITS2 v2.0以后,一个模型需要加载三个不同语言的Bert模型。如果只需要使用其中一或两种语言,可以在模型的config.json的data中,添加`lang`参数,值为`["zh"]`,表示该模型只使用中文,同时也只会加载中文的Bert模型。值为`["zh","ja"]`表示只使用中日双语,同时也只会加载中文和日文的Bert模型。以此类推。

示例:

Expand Down

0 comments on commit 2e44d31

Please sign in to comment.