雾聪
2023-11-16 5297a2dc4b2f22c07b9bfd5aef6190efd51de0bb
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",