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-offline-decoding
Commits
78847656
Commit
78847656
authored
Mar 08, 2018
by
Rudy BARAGLIA
Browse files
Updated worker_offline
parent
abadf5bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
modules/worker_offline/worker_offline.py
modules/worker_offline/worker_offline.py
+0
-1
No files found.
modules/worker_offline/worker_offline.py
View file @
78847656
...
...
@@ -60,7 +60,6 @@ class WorkerWebSocket(WebSocketClient):
logging
.
debug
(
"Trimming signal"
)
trim_silence_segments
(
self
.
filepath
,
self
.
filepath
,
chunk_size
=
100
,
threshold_factor
=
0.85
,
side_effect_accomodation
=
0
)
# Offline decoder call
logging
.
debug
(
DECODER_COMMAND
+
' '
+
TEMP_FILE_PATH
+
self
.
fileName
+
'.wav'
)
subprocess
.
call
(
"cd scripts; ./decode.sh ../systems/models "
+
self
.
fileName
+
".wav"
,
shell
=
True
)
...
...
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