oza75 commited on
Commit
2cacb94
·
verified ·
1 Parent(s): 841fc6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -34,11 +34,11 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
34
  # language = "icelandic" # we use icelandic as the model was trained to replace the icelandic with bambara.
35
 
36
  #model_checkpoint = "oza75/bm-whisper-from-swa-02"
37
- revision = "90c73e2aced94a743561e6e0f1462bcf894a3ed4"
38
  #language = "swahili"
39
 
40
- model_checkpoint = "oza75/bm-whisper-large-v3-turbo"
41
- language = "french"
42
 
43
  # Load the custom tokenizer designed for Bambara and the ASR model
44
  #tokenizer = BambaraWhisperTokenizer.from_pretrained(model_checkpoint, language=language, device=device)
 
34
  # language = "icelandic" # we use icelandic as the model was trained to replace the icelandic with bambara.
35
 
36
  #model_checkpoint = "oza75/bm-whisper-from-swa-02"
37
+ revision = None
38
  #language = "swahili"
39
 
40
+ model_checkpoint = "oza75/bm-whisper-large-turbo-v3"
41
+ language = "icelandic"
42
 
43
  # Load the custom tokenizer designed for Bambara and the ASR model
44
  #tokenizer = BambaraWhisperTokenizer.from_pretrained(model_checkpoint, language=language, device=device)