Merge pull request #105 from yni9ht/fix-gpt-sovits

fix: tts gpt sovits function
This commit is contained in:
yuheng 2024-06-04 19:30:59 +08:00 committed by GitHub
commit 016442272e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class VoitsTTS(BaseTTS):
)
)
def gpt_sovits(text, character, language, server_url, emotion) -> Iterator[bytes]:
def gpt_sovits(self, text, character, language, server_url, emotion) -> Iterator[bytes]:
start = time.perf_counter()
req={}
req["text"] = text