Skip to content

Update .env.sample - #15

Open
Raman-2915 wants to merge 1 commit into
usarfoss:mainfrom
Raman-2915:main
Open

Update .env.sample#15
Raman-2915 wants to merge 1 commit into
usarfoss:mainfrom
Raman-2915:main

Conversation

@Raman-2915

Copy link
Copy Markdown

fix #4

Summary of Changes to Resolve stt.node Error
The error "Cannot find module '/root/leon/node_modules/stt/lib/binding/v1.1.0/linux-x64/node-v108/stt.node'" indicates that the native Speech-to-Text (STT) module, likely DeepSpeech, failed to compile or link correctly for the specific Node.js ABI (v108, which is Node.js 18.x) in the target environment.

The solution is not a code change in the core files but rather an update to the setup process and ensuring the project uses the currently maintained STT provider. Leon AI's documentation suggests a transition from the older DeepSpeech to Coqui STT for offline use.

Configuration Update (for Users)
Users need to ensure their environment variables point to the correct, supported offline STT provider.
change LEON_STT=true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: Cannot find module '/root/.leon/node_modules/stt/lib/binding/v1.1.0/linux-x64/node-v108/stt.node'

1 participant