1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-24 17:23:23 +03:00
leon/scripts/train/run-train.js

15 lines
231 B
JavaScript
Raw Normal View History

import { LogHelper } from '@/helpers/log-helper'
2019-02-10 15:26:50 +03:00
import train from './train'
2019-02-10 15:26:50 +03:00
/**
* Execute the training scripts
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 train()
} catch (e) {
LogHelper.error(`Failed to train: ${e}`)
2019-02-10 15:26:50 +03:00
}
})()