KingNish commited on
Commit
8fa60f7
·
verified ·
1 Parent(s): f3e7aa7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def transcribe(inputs, previous_transcription):
31
  scipy.io.wavfile.write(filename, sample_rate, audio_data)
32
 
33
  # Transcribe the Audio
34
- transcription = pipe(filepath, batch_size=BATCH_SIZE, generate_kwargs={"task": "transcribe"}, return_timestamps=False)["text"]
35
  previous_transcription += transcription
36
 
37
  return previous_transcription
 
31
  scipy.io.wavfile.write(filename, sample_rate, audio_data)
32
 
33
  # Transcribe the Audio
34
+ transcription = pipe(filename, batch_size=BATCH_SIZE, generate_kwargs={"task": "transcribe"}, return_timestamps=False)["text"]
35
  previous_transcription += transcription
36
 
37
  return previous_transcription