Commit b0afd9af authored by Yoann HOUPERT's avatar Yoann HOUPERT

add config process manager enhancer

parent 0706f944
MODELS_PATH=./models/
YAML=/opt/models/gmm_hmm3.yaml
NB_WORKERS=2
NORM=--norm
\ No newline at end of file
NORM=--norm
NB_PROCESS=2
\ No newline at end of file
......@@ -21,6 +21,7 @@ services:
env_file: .env
environment:
- NORM
- NB_PROCESS
kaldi:
image: linagora/kaldi
......
......@@ -23,10 +23,9 @@ const routesFactory = config => {
const routes = require('express').Router();
const enhancer = require('../controller/speech-enhancement')(config.speechEnhancement);
const stt = require('../controller/speech-to-text')(config.gstreamer);
const checker = require('../util/checker');
routes.post('/api/transcript', (req, res) => {
if(!req.body){
if (!req.body) {
return res.status(400).send('No files were uploaded.');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment