KevinGeng commited on
Commit
817bf26
·
1 Parent(s): b88a983

down grade ASR

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -68,11 +68,12 @@ examples = [
68
  [w, w_, i, x, y] for w, w_, i, x, y in zip(ref_wavs, ref_wavs, refs_ids, refs_txt, refs_ppm)
69
  ]
70
 
71
- p = pipeline(
72
- "automatic-speech-recognition",
73
- model="KevinGeng/whipser_medium_en_PAL300_step25",
74
- device=0,
75
- )
 
76
 
77
  # WER part
78
  transformation = jiwer.Compose(
 
68
  [w, w_, i, x, y] for w, w_, i, x, y in zip(ref_wavs, ref_wavs, refs_ids, refs_txt, refs_ppm)
69
  ]
70
 
71
+ # p = pipeline(
72
+ # "automatic-speech-recognition",
73
+ # model="KevinGeng/whipser_medium_en_PAL300_step25",
74
+ # device=0,
75
+ # )
76
+ p = pipeline("automatic-speech-recogntion", model="facebook/wav2vec2-base-960h")
77
 
78
  # WER part
79
  transformation = jiwer.Compose(