Skip to content

Commit

Permalink
fix: id
Browse files Browse the repository at this point in the history
  • Loading branch information
Artrajz committed Sep 6, 2023
1 parent 83d00a1 commit 2b86686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bert_vits2/bert_vits2.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_audio(self, voice, auto_break=False):
noise_scale = voice.get("noise", 0.5)
noise_scale_w = voice.get("noisew", 0.6)
length_scale = voice.get("length", 1)
sid = voice.get("sid", 0)
sid = voice.get("id", 0)
max = voice.get("max", 50)
sentence_list = sentence_split(text, max, "ZH", ["zh"])
audios = []
Expand Down

0 comments on commit 2b86686

Please sign in to comment.