mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-01 11:56:48 +01:00
Update cosyvoice.js
fix comments
This commit is contained in:
parent
5281bb9b59
commit
546d05b246
@ -185,7 +185,7 @@ class CosyVoiceProvider {
|
|||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
body: JSON.stringify(params), // 将参数对象转换为 JSON 字符串
|
body: JSON.stringify(params), // Convert parameter objects to JSON strings
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user