Web Quick Start
- Chrome & Chromium-based browsers
- Picovoice Account and AccessKey
- Node.js 14+
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your
Make sure to keep your
Put the model file in the project's public directory or generate a base64 model using the build in script:
LeopardWorker instance using a base64 model or a model hosted in a public directory:
Transcribe audio (sample rate of 16 kHz, 16-bit linearly encoded and 1 channel):
Release resources explicitly when done with Leopard:
For the Leopard Web SDK, there is a Web demo project available on the Leopard GitHub repository.
Clone the Leopard repository from GitHub:
- Install dependencies and run:
- Open http://localhost:5000 to view it in the browser.