1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-11 09:12:40 +03:00
leon/scripts/train/run-train.js
2022-09-26 21:29:56 +08:00

15 lines
231 B
JavaScript

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