myshell-ai / MeloTTS

High-quality multi-lingual text-to-speech library by MyShell.ai. Support English, Spanish, French, Chinese, Japanese and Korean.
MIT License
3.97k stars 473 forks source link

Module import takes too long #144

Open nvliajia opened 4 weeks ago

nvliajia commented 4 weeks ago

I only run from melo.api import TTS,It takes me over 70 seconds each time

s-tweed commented 3 weeks ago

I believe that is due to Torch importing. I don't know of any way around that personally. It always takes forever to import on my station.