CjangCjengh / MoeGoe

Executable file for VITS inference
MIT License
2.32k stars 251 forks source link

fix: Single speaker model occurs error #47

Open Artrajz opened 1 year ago

Artrajz commented 1 year ago

Hi! Thank you for your project! I found an error while using it with single speaker model. When n_speakers = 1, it occurs error: AttributeError: 'SynthesizerTrn' object has no attribute 'emb_g' I modified if n_speakers > 1: to if n_speakers >= 1: then it works.

DogeLord081 commented 12 months ago

@CjangCjengh Hi have you had time to consider this yet?