chappM commited on
Commit
7072886
·
1 Parent(s): aa49cec

Update to whisper-amharic-small-v2 model

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,10 +7,10 @@ import librosa
7
  # Amharic Transcriber Space - Updated
8
  # Load model from Hub
9
  model = WhisperForConditionalGeneration.from_pretrained(
10
- "KidusMikael/whisper-amharic-small-v1"
11
  )
12
  processor = WhisperProcessor.from_pretrained(
13
- "KidusMikael/whisper-amharic-small-v1"
14
  )
15
 
16
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
7
  # Amharic Transcriber Space - Updated
8
  # Load model from Hub
9
  model = WhisperForConditionalGeneration.from_pretrained(
10
+ "chappM/whisper-amharic-small-v2"
11
  )
12
  processor = WhisperProcessor.from_pretrained(
13
+ "chappM/whisper-amharic-small-v2"
14
  )
15
 
16
  device = "cuda" if torch.cuda.is_available() else "cpu"