Spaces:
Runtime error
API not comparing live recording
Hello, the API is not working with our own recordings. It only works with the predefined recordings. What I mean is that after recording 2 audio files and submitting it I get an error. Also, when I make an Axios request with 2 mp3 files, it shows that it does not exist. Also, the Axios request works even when the files are not stored locally which makes me assume the are on the cloud. Could you help with this? Thank you.
@Kitt ,
This has nothing to do with the API since this space seems to use its own inference engine.
Can't tell you the issue exactly, but probably not enough care has been taken about adapting to the correct audio sampling rate and/or number of channels on the audio.
The easiest way for you as a user to get results IMO would be to download the examples look at their encoding (sampling rate + number of channels + format of audio data points) and simply re-encode your examples in a similar fashion.
Other than that I will tag someone at HF that actually touched this file in case he has a better idea. (Please bear with us, our open source team is very busy writing diffusers right now too)
@anton-l