ZiyuG commited on
Commit
84e4158
1 Parent(s): 346f11e

Update ms_tts.py

Browse files
Files changed (1) hide show
  1. ms_tts.py +1 -1
ms_tts.py CHANGED
@@ -61,7 +61,7 @@ import azure.cognitiveservices.speech as speechsdk
61
  def ms_tts_gen(text, audio_path):
62
  # 创建 Speech 配置
63
  # speech_config = speechsdk.SpeechConfig(subscription="b45d4ca1f5eb4c96950666eb97b9be60", region="eastasia")
64
- speech_config = speechsdk.SpeechConfig(subscription="909fbaca5eb646c2bda91204e5bef075", region="eastasia")
65
  speech_config.speech_synthesis_voice_name = 'zh-HK-HiuGaaiNeural' # 粤语女声
66
 
67
  # 配置音频输出为 MP3 格式
 
61
  def ms_tts_gen(text, audio_path):
62
  # 创建 Speech 配置
63
  # speech_config = speechsdk.SpeechConfig(subscription="b45d4ca1f5eb4c96950666eb97b9be60", region="eastasia")
64
+ speech_config = speechsdk.SpeechConfig(subscription="ef47bc3073b74e4e9837e886be2fb6f7", region="eastasia")
65
  speech_config.speech_synthesis_voice_name = 'zh-HK-HiuGaaiNeural' # 粤语女声
66
 
67
  # 配置音频输出为 MP3 格式