diff --git a/faster_whisper/utils.py b/faster_whisper/utils.py index 481bd748..88ea275a 100644 --- a/faster_whisper/utils.py +++ b/faster_whisper/utils.py @@ -29,6 +29,12 @@ } +def add_model(model_dict) -> dict: + """Adds a dictionary of custom Models to existing Model""" + _MODELS.update(model_dict) + return _MODELS + + def available_models() -> List[str]: """Returns the names of available models.""" return list(_MODELS.keys())