Small change for russian lang

This commit is contained in:
Ruben van de Ven 2019-10-09 07:37:48 +02:00
parent 6f4cd6aae4
commit f833d952fb
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ class MSVoiceFetcher(VoiceFetcher):
'Authorization': 'Bearer ' + await self.getToken(),
'Content-Type': 'application/ssml+xml',
'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']}'
name='{self.config['ms_name']}'>
@ -187,4 +187,4 @@ class MSVoiceFetcher(VoiceFetcher):
return response.body