RP-Azul commited on
Commit
bdad405
·
verified ·
1 Parent(s): 7ed8f5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def audio_to_text(audio):
31
  audio_array = np.array(audio_data).astype(np.float32)
32
 
33
  # Transcribe the audio input
34
- transcription = pipe1(audio_array, sampling_rate=16000)
35
  transcription_text = transcription['text']
36
 
37
  # Print and return the transcription text
 
31
  audio_array = np.array(audio_data).astype(np.float32)
32
 
33
  # Transcribe the audio input
34
+ transcription = pipe1(audio_array)
35
  transcription_text = transcription['text']
36
 
37
  # Print and return the transcription text