1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-20 23:31:30 +03:00
leon/scripts/setup-offline/run-setup-stt.js

15 lines
238 B
JavaScript
Raw Normal View History

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