-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cheetah Issue: cheetah_params.pv picovoice File is <!--
while library is '2.0'
#335
Comments
Also attempted to use the demo from this page https://picovoice.ai/docs/quick-start/cheetah-react/
node:internal/child_process:421 Error: spawn EINVAL Node.js v20.13.1
node:internal/child_process:421 Error: spawn EINVAL Node.js v20.13.1 |
@AbsurdSyssie - thanks for the report. The As for your initial issue - can you reproduce it using the demo (now that we've fixed the launch script)? We generally prefer addressing issues using our demos as shared code to rule out any issues with user code. |
Closed due to inactivity |
Have you checked the docs and existing issues?
SDK
React
Cheetah package version
2.0.0
Framework version
react 18 Node.js v20.13.1.
Platform
Windows (x86_64)
OS/Browser version
Windows 11
Describe the bug
Attempting to use cheetah STT in react 18.
Downloaded latest cheetah_params.pv, placed in /public/models folder.
Used npm install for the relevant libraries.
Set up cheetah init with my access key and the correct path to the cheetah params.
On initiation get the error
CheetahInvalidArgumentError: Initialization failed: [0] Cheetah model (.pv) file belongs to a different version of the library. File is
<!--
while library is2.0.0
. [1] Picovoice Error (code00000136
)Steps To Reproduce
npm install @picovoice/cheetah-react @picovoice/web-voice-processor
Downlod cheetah_params.pv from the github repo
Reference cheetah_params in the init function
const initEngine = async () => {
console.log("Initializing Cheetah with model_params.");
};
Also tried with base 64 option.
Use voice widget, on initialisation get the above error.
Expected Behavior
On pressing initialise should load the params and carry out stt function.
The text was updated successfully, but these errors were encountered: