fix: tts gpt sovits function

main
yni9ht 1 year ago
parent 632409da1e
commit ff0e11866d

@ -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() start = time.perf_counter()
req={} req={}
req["text"] = text req["text"] = text

Loading…
Cancel
Save