haoheliu / AudioLDM2

Text-to-Audio/Music Generation
Other
2.31k stars 181 forks source link

cannot import name 'VitsModel' from 'transformers' #75

Closed XinleiNIU closed 5 months ago

XinleiNIU commented 6 months ago

Hi,

I got a problem said

cannot import name 'VitsModel' from 'transformers'

My transformers version is 4.30.2. Any ideas for solving this? Thank you.

tolotrasamuel commented 5 months ago

What is the solution ?

XinleiNIU commented 5 months ago

What is the solution ?

I did not use the conda venv but a python venv and then install requirement.txt. The problem just magiclly been fixed, I have no idea with this.