Commit 9c6e68d3f83591e0e28b95b7330b664276c19a63
1 parent
85ace970
Exists in
master
and in
1 other branch
Correção no endpoint glosa
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
server.js
| ... | ... | @@ -22,6 +22,14 @@ var kue = require('kue'); |
| 22 | 22 | var queue = kue.createQueue(); |
| 23 | 23 | var unirest = require('unirest'); |
| 24 | 24 | |
| 25 | +var PythonShell = require('python-shell'); | |
| 26 | + | |
| 27 | +var options = { | |
| 28 | + pythonPath: 'python', | |
| 29 | + scriptPath: '/home/libras/vlibras-translate/src', | |
| 30 | + args: [] | |
| 31 | +}; | |
| 32 | + | |
| 25 | 33 | app.use(express.static(path.join(__dirname, '/videos'))); |
| 26 | 34 | app.use(express.bodyParser({ keepExtensions: true, uploadDir: path.join(__dirname, '/uploads') })); |
| 27 | 35 | ... | ... |