Kindler commited on
Commit
56eff0b
1 Parent(s): d1fe71c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def transcribe_audio(audio):
84
  sf.write(temp_audio_path, audio_list, sample_rate)
85
 
86
  # Transcribe audio using the canary model
87
- predicted_text = canary_model.transcribe(paths2audio_files=[temp_audio_path], batch_size=16)
88
 
89
  # Remove the temporary file
90
 
 
84
  sf.write(temp_audio_path, audio_list, sample_rate)
85
 
86
  # Transcribe audio using the canary model
87
+ predicted_text = canary_model.transcribe(temp_audio_path, batch_size=16)
88
 
89
  # Remove the temporary file
90