游雁
2023-11-16 4ace5a95b052d338947fc88809a440ccd55cf6b4
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",