游雁
2023-11-14 15da2a10acd8b7aa75ae152874ed75d3dfa4fa89
funasr/utils/whisper_utils/tokenizer.py
@@ -5,7 +5,12 @@
import numpy as np
import torch
from transformers import GPT2TokenizerFast
try:
    from transformers import GPT2TokenizerFast
except ImportError:
    raise ImportError(
        "transformers was not installed. Please install transformers first."
        )
LANGUAGES = {
    "en": "english",