Document input sample rate for waveform inference
Browse files24 unmodified lines2526272824 unmodified linesBoth embeddings have shape `(batch, 1024)`.For waveform input, use `model.encode_audio(audio)` with audio prepared at 44.1 kHz, as shown in the [quickstart](https://github.com/sh-lee97/rlat-release#quickstart). Waveform encoding requires access to the [Stable Audio Open audio codec](https://huggingface.co/stabilityai/stable-audio-open-1.0); accept its access terms separately.24 unmodified lines2526272824 unmodified linesBoth embeddings have shape `(batch, 1024)`.For waveform input, use `model.encode_audio(audio, input_sr=sample_rate)`, as shown in the [quickstart](https://github.com/sh-lee97/rlat-release#quickstart). Inputs are resampled to 44.1 kHz when needed. Waveform encoding requires access to the [Stable Audio Open audio codec](https://huggingface.co/stabilityai/stable-audio-open-1.0); accept its access terms separately.
README.md+1-1