Barani1-t commited on
Commit
6e2fa31
·
1 Parent(s): d7c731f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ device = "cuda:0" if torch.cuda.is_available() else "cpu"
11
 
12
  # load speech translation checkpoint
13
 
14
- asr_pipe = pipeline("automatic-speech-recognition", model="openai/whisper-medium", device=device)
15
 
16
  # load text-to-speech checkpoint and speaker embeddings
17
  processor = SpeechT5Processor.from_pretrained("sanchit-gandhi/speecht5_tts_vox_nl")
 
11
 
12
  # load speech translation checkpoint
13
 
14
+ asr_pipe = pipeline("automatic-speech-recognition", model="openai/whisper-base", device=device)
15
 
16
  # load text-to-speech checkpoint and speaker embeddings
17
  processor = SpeechT5Processor.from_pretrained("sanchit-gandhi/speecht5_tts_vox_nl")