shixian.shi
2023-11-08 4a04c022c5b5987d982e7d6ccf9a1026264be62e
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",