rutsam commited on
Commit
c164290
1 Parent(s): e14a4f8

remove aiofiles and use open

Browse files
Files changed (1) hide show
  1. nemo_asr.py +1 -1
nemo_asr.py CHANGED
@@ -4,7 +4,7 @@ import nemo.collections.asr as nemo_asr
4
 
5
 
6
  def transcribe(file, modelName="stt_rw_conformer_transducer_large"):
7
- with aiofiles.open(file.filename, 'wb') as out_file:
8
  out_file = file.read() # async read
9
  #out_file.write(content) # async write
10
  print(out_file.name)
 
4
 
5
 
6
  def transcribe(file, modelName="stt_rw_conformer_transducer_large"):
7
+ with open(open.filename, 'rb') as out_file:
8
  out_file = file.read() # async read
9
  #out_file.write(content) # async write
10
  print(out_file.name)