Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def transcribe_audio(audio):
|
|
71 |
# Function to get IPA transcription
|
72 |
def ipa_transcription(sentence):
|
73 |
try:
|
74 |
-
ipa = phonemize(sentence, language='en-us'
|
75 |
return ipa
|
76 |
except Exception as e:
|
77 |
return f"Error during IPA transcription: {e}"
|
|
|
71 |
# Function to get IPA transcription
|
72 |
def ipa_transcription(sentence):
|
73 |
try:
|
74 |
+
ipa = phonemize(sentence, language='en-us')
|
75 |
return ipa
|
76 |
except Exception as e:
|
77 |
return f"Error during IPA transcription: {e}"
|