Text-to-Speech
Fairseq
English
audio

TypeError: cannot unpack non-iterable NoneType object

#16
by potatocharlie - opened

When I try to download the model from the hub I get this error and I don't know how to fix it..

Untitled-2 in line 2
6 #%%
----> 7 models, cfg, task = load_model_ensemble_and_task_from_hf_hub(
8 "facebook/fastspeech2-en-ljspeech",
9 arg_overrides={"vocoder": "hifigan", "fp16": False}
10 )

TypeError: cannot unpack non-iterable NoneType object

Hey @potatocharlie - I was not able to reproduce your error using the codesnippet on the README, but did find bugs in the one that was there. Does the updated codesnippet from #17 fix your issue?

@sanchit-gandhi thank you, works now :)

Sign up or log in to comment