Error while loading tensorspeech/tts-tacotron2-ljspeech-en

#1
by indianspeedster - opened

tacotron2 = TFAutoModel.from_pretrained("tensorspeech/tts-tacotron2-ljspeech-en", name="tacotron2")
The above mentioned code gives the below mentioned error :
Downloading: 100%
128M/128M [00:03<00:00, 33.0MB/s]
Downloading: 100%
4.03k/4.03k [00:00<00:00, 164kB/s]


TypeCheckError Traceback (most recent call last)
in
----> 1 tacotron2 = TFAutoModel.from_pretrained("tensorspeech/tts-tacotron2-ljspeech-en", name="tacotron2")

7 frames
/usr/local/lib/python3.9/dist-packages/typeguard/_checkers.py in check_type_internal(value, annotation, memo)
678
679 if not isinstance(value, origin_type):
--> 680 raise TypeCheckError(f"is not an instance of {qualified_name(origin_type)}")
681
682

TypeCheckError: value assigned to probability_fn (function) is not an instance of str

Can anyone help me out with this ?

Sign up or log in to comment