Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,8 @@ p = pipeline("automatic-speech-recognition")
|
|
25 |
huggingface_token = os.environ["huggingface_token"]
|
26 |
|
27 |
whisper_miso=WhisperModel.from_pretrained("mskov/whisper_miso", use_auth_token=huggingface_token)
|
28 |
-
miso_tokenizer = WhisperTokenizer.from_pretrained("mskov/whisper_miso", use_auth_token=huggingface_token)
|
|
|
29 |
|
30 |
|
31 |
task_evaluator = evaluator("automatic-speech-recognition")
|
|
|
25 |
huggingface_token = os.environ["huggingface_token"]
|
26 |
|
27 |
whisper_miso=WhisperModel.from_pretrained("mskov/whisper_miso", use_auth_token=huggingface_token)
|
28 |
+
#miso_tokenizer = WhisperTokenizer.from_pretrained("mskov/whisper_miso", use_auth_token=huggingface_token)
|
29 |
+
miso_tokenizer = WhisperTokenizer.from_pretrained("openai/whisper-small", use_auth_token=huggingface_token)
|
30 |
|
31 |
|
32 |
task_evaluator = evaluator("automatic-speech-recognition")
|