fix: tts gpt sovits function

This commit is contained in:
yni9ht 2024-06-04 16:06:21 +08:00
parent 632409da1e
commit ff0e11866d
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