Skip to content

Commit

Permalink
Fix GPT-SOVITS in ssml
Browse files Browse the repository at this point in the history
  • Loading branch information
Artrajz committed Jun 6, 2024
1 parent 3c5d6b4 commit 1afc101
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manager/ModelManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ def _load_model_from_path(self, model_path, config_path, sovits_path, gpt_path):
self.model_handler.load_bert("CHINESE_ROBERTA_WWM_EXT_LARGE")
model.load_model(self.model_handler)

self.available_tts_model.add(ModelType.GPT_SOVITS.value)

sid2model = []
speakers = []
new_id = len(self.voice_speakers[model_type.value])
Expand Down

0 comments on commit 1afc101

Please sign in to comment.