fix: tts gpt sovits function
This commit is contained in:
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…
Reference in New Issue