smajumdar commited on
Commit
15fdbbb
·
1 Parent(s): cceae86

Fix issue with single uploaded file not being transcribed if too long

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -407,7 +407,7 @@ def transcribe(microphone, audio_file, model_name):
407
  if os.path.exists(audio_data):
408
  os.remove(audio_data)
409
 
410
- audio_data = new_audio_data`
411
 
412
  # Use HF API for transcription
413
  start = time.time()
 
407
  if os.path.exists(audio_data):
408
  os.remove(audio_data)
409
 
410
+ audio_data = new_audio_data
411
 
412
  # Use HF API for transcription
413
  start = time.time()