Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
LINAGORA
L
LGS
Labs
linstt-controller
Commits
adf5ed37
Commit
adf5ed37
authored
Feb 07, 2018
by
Yoann HOUPERT
Browse files
allow to manage accousticScore
parent
6eeb79a8
Pipeline
#10739
passed with stage
in 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
lib/webserver/routes.js
lib/webserver/routes.js
+1
-5
No files found.
lib/webserver/routes.js
View file @
adf5ed37
...
...
@@ -56,14 +56,10 @@ const routesFactory = config => {
if
(
json
.
status
===
5
)
{
return
res
.
status
(
interalServerCode
).
json
({
module
:
'
Offline transcription
'
,
error
:
'
Error during audio transcription
'
});
}
const
transcription
=
JSON
.
parse
(
json
.
transcript
).
transcript
;
const
jsonResponse
=
{
status
:
0
,
hypotheses
:
[{
utterance
:
transcription
}],
hypotheses
:
JSON
.
parse
(
transcription
),
id
:
uuidv1
()
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment