diff --git a/tensorflow_tts/inference/auto_model.py b/tensorflow_tts/inference/auto_model.py index 526d5c49..3d5f3923 100644 --- a/tensorflow_tts/inference/auto_model.py +++ b/tensorflow_tts/inference/auto_model.py @@ -90,7 +90,7 @@ def from_pretrained(cls, pretrained_path=None, config=None, **kwargs): config = AutoConfig.from_pretrained(pretrained_path) - pretraine_path = downloaded_file + pretrained_path = downloaded_file assert config is not None, "Please make sure to pass a config along to load a model from a local file"