fix: 参数修正
This commit is contained in:
1 parent
3e54a3272a
commit
c6a7871e5b
1 file changed
+1
-1
@@ -190,7 +190,7 @@ class TTSProvider(TTSProviderBase):
|
||||
start_time = time.time()
|
||||
text = MarkdownCleaner.clean_markdown(text)
|
||||
|
||||
payload = {"text": text, "character": self.character}
|
||||
payload = {"text": text, "character": self.voice}
|
||||
|
||||
try:
|
||||
with requests.post(self.api_url, json=payload, timeout=5) as response:
|
||||
|
||||
Reference in new issue
Block a user