1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-20 07:11:40 +03:00
leon/scripts/setup-offline/run-setup-hotword.js

15 lines
262 B
JavaScript
Raw Normal View History

import { LOG } from '@/helpers/log'
2019-02-10 15:26:50 +03:00
2022-09-03 14:12:41 +03:00
import setupHotword from './setup-hotword'
2019-02-10 15:26:50 +03:00
/**
* Execute the setup offline hotword script
*/
2022-09-03 14:12:41 +03:00
;(async () => {
2019-02-10 15:26:50 +03:00
try {
await setupHotword()
} catch (e) {
LOG.error(`Failed to setup offline hotword: ${e}`)
2019-02-10 15:26:50 +03:00
}
})()