Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,6 @@ def assess_pronunciation(audio_file, reference_text):
|
|
| 17 |
grading_system=speechsdk.PronunciationAssessmentGradingSystem.HundredMark,
|
| 18 |
granularity=speechsdk.PronunciationAssessmentGranularity.Phoneme
|
| 19 |
)
|
| 20 |
-
pronunciation_config.enable_prosody_assessment()
|
| 21 |
|
| 22 |
# Create the recognizer
|
| 23 |
recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config, audio_config=audio_config)
|
|
|
|
| 17 |
grading_system=speechsdk.PronunciationAssessmentGradingSystem.HundredMark,
|
| 18 |
granularity=speechsdk.PronunciationAssessmentGranularity.Phoneme
|
| 19 |
)
|
|
|
|
| 20 |
|
| 21 |
# Create the recognizer
|
| 22 |
recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config, audio_config=audio_config)
|