Devion333 commited on
Commit
1cf42e4
·
verified ·
1 Parent(s): 03394cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -10,18 +10,14 @@ wer_metric = load("wer")
10
 
11
  # Preload multiple ASR models for comparison
12
  models = {
13
- "Wav2Vec2 (Devion333)": pipeline(
14
  task="automatic-speech-recognition",
15
  model="Devion333/wav2vec2-xls-r-300m-dv"
16
  ),
17
- "Wav2Vec2 (Sammau)": pipeline(
18
  task="automatic-speech-recognition",
19
- model="Sammau/wav2vec2-large-xls-r-300m-dv-ng"
20
  ),
21
- "Wav2Vec2 (Alyaan)": pipeline(
22
- task="automatic-speech-recognition",
23
- model="shiimi/xls-r-300m-dv"
24
- )
25
  }
26
 
27
  def transcribe(audio, chosen_models, reference):
 
10
 
11
  # Preload multiple ASR models for comparison
12
  models = {
13
+ "Wav2Vec2 ": pipeline(
14
  task="automatic-speech-recognition",
15
  model="Devion333/wav2vec2-xls-r-300m-dv"
16
  ),
17
+ "Whisper small": pipeline(
18
  task="automatic-speech-recognition",
19
+ model="Devion333/whisper-small-dv-syn"
20
  ),
 
 
 
 
21
  }
22
 
23
  def transcribe(audio, chosen_models, reference):