1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-18 14:21:32 +03:00
leon/scripts/run-train.js
2021-03-02 17:02:55 +08:00

15 lines
206 B
JavaScript

import log from '@/helpers/log'
import train from './train'
/**
* Execute the training script
*/
(async () => {
try {
await train()
} catch (e) {
log.error(`Failed to train: ${e}`)
}
})()