Update speechbrain.pretrained to speechbrain.inference
#2
by
Bronsn
- opened
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.