Small change for russian lang
This commit is contained in:
parent
6f4cd6aae4
commit
f833d952fb
1 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ class MSVoiceFetcher(VoiceFetcher):
|
||||||
'Authorization': 'Bearer ' + await self.getToken(),
|
'Authorization': 'Bearer ' + await self.getToken(),
|
||||||
'Content-Type': 'application/ssml+xml',
|
'Content-Type': 'application/ssml+xml',
|
||||||
'X-Microsoft-OutputFormat': 'riff-24khz-16bit-mono-pcm',
|
'X-Microsoft-OutputFormat': 'riff-24khz-16bit-mono-pcm',
|
||||||
# 'User-Agent': 'YOUR_RESOURCE_NAME'
|
'User-Agent': 'YOUR_RESOURCE_NAME'
|
||||||
}
|
}
|
||||||
body = f"""<speak version='1.0' xml:lang='{self.config['ms_lang']}'><voice xml:lang='{self.config['ms_lang']}' xml:gender='{self.config['ms_gender']}'
|
body = f"""<speak version='1.0' xml:lang='{self.config['ms_lang']}'><voice xml:lang='{self.config['ms_lang']}' xml:gender='{self.config['ms_gender']}'
|
||||||
name='{self.config['ms_name']}'>
|
name='{self.config['ms_name']}'>
|
||||||
|
|
Loading…
Reference in a new issue