JanLilan commited on
Commit
65f8f84
1 Parent(s): 8809df6

Update app.py

Browse files

changed from openai whisper base to-> softcatala/whisper-base-ca (theorically better for catala translations)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from speechbrain.pretrained import EncoderClassifier
10
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
11
 
12
  # load speech translation checkpoint
13
- asr_pipe = pipeline("automatic-speech-recognition", model="openai/whisper-base", device=device)
14
 
15
  # load text-to-speech checkpoint and speaker embeddings
16
  processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
 
10
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
11
 
12
  # load speech translation checkpoint
13
+ asr_pipe = pipeline("automatic-speech-recognition", model="softcatala/whisper-base-ca", device=device)
14
 
15
  # load text-to-speech checkpoint and speaker embeddings
16
  processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")