versae commited on
Commit
f0463f7
1 Parent(s): c2cf720

Moving the OpenAI version to a folder with its SHA256

Browse files
whisper-large-sme.pt → bed43f50f06fd0db81c1009d7d9cbc2c595c5f7f6a6278e137410fea92d15f28/whisper-large-sme.pt RENAMED
File without changes
cli.py CHANGED
@@ -1,5 +1,9 @@
1
  import whisper
 
 
 
 
 
2
 
3
- whisper._MODELS["NbAiLab/whisper-large-sme"] = ""
4
- from whiper.transcribe import cli
5
- from
1
  import whisper
2
+ whisper._MODELS["NbAiLab/whisper-large-sme"] = "https://huggingface.co/NbAiLab/whisper-large-sme/resolve/main/whisper-large-sme.pt"
3
+ whisper.tokenizer.LANGUAGES["fi"] = "sami"
4
+ whisper.tokenizer.TO_LANGUAGE_CODE["sme"] = "fi"
5
+ whisper.tokenizer.TO_LANGUAGE_CODE["sami"] = "fi"
6
+ from whisper.transcribe import cli
7
 
8
+ if __name__ == "__main__":
9
+ cli()