Mbonea commited on
Commit
5b8a285
·
1 Parent(s): 71ae1f7

return error

Browse files
App/Transcription/Utils/audio_transcription.py CHANGED
@@ -53,7 +53,7 @@ def transcribe_file(state, file_path, model_size="tiny"):
53
  meta=metadata.dict(),
54
  )
55
  os.remove(file_path)
56
- return
57
 
58
  # delete file
59
  os.remove(file_path)
 
53
  meta=metadata.dict(),
54
  )
55
  os.remove(file_path)
56
+ return f"Falied error {e}"
57
 
58
  # delete file
59
  os.remove(file_path)