NuMessiah commited on
Commit
bbd6f67
·
verified ·
1 Parent(s): 97f93f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import torch
3
  from transformers import pipeline
4
 
5
  # Load the Whisper pipeline
6
- transcriber = pipeline("automatic-speech-recognition") # Choose your Whisper size
7
 
8
  def transcribe_audio(audio_file):
9
  if audio_file is not None:
 
3
  from transformers import pipeline
4
 
5
  # Load the Whisper pipeline
6
+ transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-base") # Choose your Whisper size
7
 
8
  def transcribe_audio(audio_file):
9
  if audio_file is not None: