mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-02 04:16:52 +01:00
Update azure.js
Change Azure TTS audio format from ogg-48khz-16bit-mono-opus to webm-24khz-16bit-mono-opus because this works with WebKit-based browsers so brings Azure TTS to iOS, iPadOS and Safari on macOS.
This commit is contained in:
parent
5848806e6a
commit
135639642b
@ -69,7 +69,7 @@ router.post('/generate', jsonParser, async (req, res) => {
|
||||
headers: {
|
||||
'Ocp-Apim-Subscription-Key': key,
|
||||
'Content-Type': 'application/ssml+xml',
|
||||
'X-Microsoft-OutputFormat': 'ogg-48khz-16bit-mono-opus',
|
||||
'X-Microsoft-OutputFormat': 'webm-24khz-16bit-mono-opus',
|
||||
},
|
||||
body: ssml,
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user