Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,6 +52,7 @@ def fix_italian_transcription(transcription):
|
|
| 52 |
for phrase in no_elision_cases:
|
| 53 |
fixed = phrase.replace(" ", "'")
|
| 54 |
transcription = transcription.replace(fixed, phrase)
|
|
|
|
| 55 |
|
| 56 |
def transcribe_mic(audio_microphone, language):
|
| 57 |
print("Transcription microphone")
|
|
|
|
| 52 |
for phrase in no_elision_cases:
|
| 53 |
fixed = phrase.replace(" ", "'")
|
| 54 |
transcription = transcription.replace(fixed, phrase)
|
| 55 |
+
return transcription
|
| 56 |
|
| 57 |
def transcribe_mic(audio_microphone, language):
|
| 58 |
print("Transcription microphone")
|