Skip to content

Commit 294bfbb

Browse files
committed
🍀 Fix bug TFAutModel.
1 parent 0eaac74 commit 294bfbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_tts/inference/auto_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def from_pretrained(cls, pretrained_path=None, config=None, **kwargs):
9090

9191
config = AutoConfig.from_pretrained(pretrained_path)
9292

93-
pretraine_path = downloaded_file
93+
pretrained_path = downloaded_file
9494

9595

9696
assert config is not None, "Please make sure to pass a config along to load a model from a local file"

0 commit comments

Comments
 (0)