Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,9 @@ def transcribe(file):
|
|
17 |
transcription = transcription[0].lower().split()
|
18 |
transcribed_with_amasuku = []
|
19 |
for word in transcription:
|
20 |
-
transcribed_with_amasuku(amasaku_mapping.get(word,word))
|
21 |
transcribed_with_amasuku = " ".join(transcribed_with_amasuku)
|
22 |
-
return
|
23 |
|
24 |
|
25 |
with gr.Blocks() as demo:
|
|
|
17 |
transcription = transcription[0].lower().split()
|
18 |
transcribed_with_amasuku = []
|
19 |
for word in transcription:
|
20 |
+
transcribed_with_amasuku.append(amasaku_mapping.get(word,word))
|
21 |
transcribed_with_amasuku = " ".join(transcribed_with_amasuku)
|
22 |
+
return transcribed_with_amasaku.capitalize()
|
23 |
|
24 |
|
25 |
with gr.Blocks() as demo:
|