Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
38 |
#language = "swahili"
|
39 |
|
40 |
-
model_checkpoint = "oza75/bm-whisper-large-v3
|
41 |
-
language = "
|
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)
|