This example demonstrates LFM2.5-Audio-1.5B running entirely in your browser using WebGPU and ONNX Runtime Web. You can find all the code in this Hugging Face Space, including a deployed version you can interact with 0 setup here.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Liquid4All/cookbook/llms.txt
Use this file to discover all available pages before exploring further.
Quick start
Verify npm is installed
Features
- ASR (Speech Recognition): Transcribe audio to text
- TTS (Text-to-Speech): Convert text to natural speech
- Interleaved: Mixed audio and text conversation
Requirements
- A browser with WebGPU support (Chrome/Edge 113+)
- Enable WebGPU at
chrome://flags/#enable-unsafe-webgpuif needed