Kleber commited on
Commit
8fb298d
1 Parent(s): c73c4f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 transcription_with_amasaku.capitalize()
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: