Fix config access. Add Top K to classification results

This commit is contained in:
Cohee
2023-09-11 01:49:47 +03:00
parent c76c76410c
commit 7aeb098212
3 changed files with 17 additions and 9 deletions

10
src/util.js Normal file
View File

@ -0,0 +1,10 @@
const path = require('path');
function getConfig() {
const config = require(path.join(process.cwd(), './config.conf'));
return config;
}
module.exports = {
getConfig,
};