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