gabrielmittag / NISQA

NISQA - Non-Intrusive Speech Quality and TTS Naturalness Assessment
MIT License
663 stars 117 forks source link

Is it possible to use the model as a function? #24

Closed chankl3579 closed 2 years ago

chankl3579 commented 2 years ago

Thanks for sharing the repo. I have tried to use the model based on the guidelines in README and find it very useful. I am thinking is it possible to call this model as a function and return a scalar (the MOS) in python instead of using it only through command prompt. However, I am not good at programming, is there any advice where to start?

gabrielmittag commented 2 years ago

Hi, yes, just have a look at the run_predict.py and how the model is run within the script.