Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = "
|
7 |
-
service_region = "
|
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
|