Kleber commited on
Commit
bd275e2
·
verified ·
1 Parent(s): 8feb0c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def transcribe(file):
24
  audio.export(file,format="wav")
25
  except Exception as e:
26
  print(e)
27
- transcription= asr_model.transcribe([new_file_name])
28
  transcription = transcription[0].lower().split()
29
  transcribed_with_amasaku = []
30
  for word in transcription:
 
24
  audio.export(file,format="wav")
25
  except Exception as e:
26
  print(e)
27
+ transcription= asr_model.transcribe([file])
28
  transcription = transcription[0].lower().split()
29
  transcribed_with_amasaku = []
30
  for word in transcription: