Update speechbrain.pretrained to speechbrain.inference

#2

The new speechbrain v1.0.0 caused a breaking change which the proposed change aims to fix.
The "pretrained" module no longer exists. Instead, it is replaced by the "inference" method. Link to the issue: https://github.com/speechbrain/speechbrain/issues/2472

The second change removes the first slash character in the source parameter on line 40 to ensure Tacotron2 fetches from the online repo instead of locally.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment