nickmuchi commited on
Commit
305058a
1 Parent(s): 26432a5

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -1
functions.py CHANGED
@@ -330,7 +330,7 @@ def inference(link, upload, _asr_model):
330
 
331
  for i, chunk in enumerate(chunks):
332
  chunk.export(f'output/chunk_{i}.mp3', format='mp3')
333
- transcriptions.append(load_whisper_api('output/chunk_{i}.mp3')['text'])
334
 
335
  results = ','.join(transcriptions)
336
 
 
330
 
331
  for i, chunk in enumerate(chunks):
332
  chunk.export(f'output/chunk_{i}.mp3', format='mp3')
333
+ transcriptions.append(load_whisper_api(f'output/chunk_{i}.mp3')['text'])
334
 
335
  results = ','.join(transcriptions)
336