aikitty commited on
Commit
444cc49
·
verified ·
1 Parent(s): b8a29bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ import azure.cognitiveservices.speech as speechsdk
3
 
4
  def assess_pronunciation(audio_file):
5
  # Configure Azure Speech Service
6
- speech_key = "YourAzureSpeechServiceKey"
7
- service_region = "YourServiceRegion"
8
  speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region)
9
 
10
  # Set up the audio configuration
 
3
 
4
  def assess_pronunciation(audio_file):
5
  # Configure Azure Speech Service
6
+ speech_key = "12afe22c558a4f8d8bd28d6a67cdb9b0"
7
+ service_region = "westus"
8
  speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region)
9
 
10
  # Set up the audio configuration