1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-26 18:23:00 +03:00
leon/scripts/run-train.js
2019-02-10 20:26:50 +08:00

15 lines
207 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}`)
}
})()