FranklinWillemen commited on
Commit
17a1355
1 Parent(s): d92e421
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ openai.api_key = os.environ['OPEN_AI_KEY']
8
 
9
  speech_config = speechsdk.SpeechConfig(subscription=os.environ['AZURE_SPEECH_KEY'], region="westeurope")
10
  #audio_config = speechsdk.audio.AudioOutputConfig(use_default_speaker=True)
11
- speech_config.speech_synthesis_voice_name = "en-US-AriaNeural"
12
  speech_synthesizer = speechsdk.SpeechSynthesizer(speech_config=speech_config, audio_config=None)
13
 
14
  messages = [{"role": "system", "content": 'You are a clever and helpfull conversationalist. Respond to all input in 25 words or less. Do not mention that you are an AI or service of any kind.'}]
 
8
 
9
  speech_config = speechsdk.SpeechConfig(subscription=os.environ['AZURE_SPEECH_KEY'], region="westeurope")
10
  #audio_config = speechsdk.audio.AudioOutputConfig(use_default_speaker=True)
11
+ speech_config.speech_synthesis_voice_name = "nl-NL-ColetteNeural"
12
  speech_synthesizer = speechsdk.SpeechSynthesizer(speech_config=speech_config, audio_config=None)
13
 
14
  messages = [{"role": "system", "content": 'You are a clever and helpfull conversationalist. Respond to all input in 25 words or less. Do not mention that you are an AI or service of any kind.'}]