mskov commited on
Commit
f1a0ecb
β€’
1 Parent(s): 40d5eca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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")