Tlanextli commited on
Commit
cd94084
·
1 Parent(s): c3ed104

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ title = "Transcribe speech several languages"
7
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
8
 
9
  asr_pipe_audio2Text_Ge = pipeline(task="automatic-speech-recognition", model="jonatasgrosman/wav2vec2-large-xlsr-53-german")
10
- asr_pipe_whisper = pipeline(task="automatic-speech-recognition", model="openai/whisper-large", device=device)
11
 
12
  #def transcribeFile(audio_path : str) -> str:
13
  # transcription = asr_pipe_audio2Text_Ge(audio_path)
 
7
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
8
 
9
  asr_pipe_audio2Text_Ge = pipeline(task="automatic-speech-recognition", model="jonatasgrosman/wav2vec2-large-xlsr-53-german")
10
+ asr_pipe_whisper = pipeline(task="automatic-speech-recognition", model="openai/whisper-base", device=device)
11
 
12
  #def transcribeFile(audio_path : str) -> str:
13
  # transcription = asr_pipe_audio2Text_Ge(audio_path)