huggingface / api-inference-community

Apache License 2.0
161 stars 61 forks source link

Update to SpeechBrain v1.0 #414

Closed TParcollet closed 6 months ago

TParcollet commented 6 months ago

Hello there,

This PR is because SB is now stable and the v1 is released.

I'd like to mention that I ran the tests, and some of them fail, but I simply can't understand why as I was not able to get the exception. I tested the code corresponding to the test locally, on the same environment than the test, and it works.

I ran pytest -v --tb=native -sv --rootdir docker_images/speechbrain/ docker_images/speechbrain/. Weirdly, all the interfaces work when I try them locally :-(

I also tried to just remove entirely the content of the call, just returning a dummy expected variable of the right type, and the tests would still fail, which sounds surprising to me.

Many thanks!