ixxan commited on
Commit
bf18876
·
verified ·
1 Parent(s): 339c131

Update asr.py

Browse files
Files changed (1) hide show
  1. asr.py +2 -2
asr.py CHANGED
@@ -4,8 +4,8 @@ from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
4
  import numpy as np
5
 
6
  # Load processor and model
7
- processor = AutoProcessor.from_pretrained("ixxan/whisper-small-ug-cv-15")
8
- model = AutoModelForSpeechSeq2Seq.from_pretrained("ixxan/whisper-small-ug-cv-15")
9
 
10
 
11
  def transcribe(audio_data) -> str:
 
4
  import numpy as np
5
 
6
  # Load processor and model
7
+ processor = AutoProcessor.from_pretrained("ixxan/whisper-small-common-voice-ug")
8
+ model = AutoModelForSpeechSeq2Seq.from_pretrained("ixxan/whisper-small-common-voice-ug")
9
 
10
 
11
  def transcribe(audio_data) -> str: