From 895642510505f7675ae7c581eea31c7b9579255a Mon Sep 17 00:00:00 2001 From: Desklop Date: Thu, 7 Nov 2019 17:57:27 +0300 Subject: [PATCH] Updated version --- setup.py | 2 +- webrtcvad_wrapper/webrtcvad_wrapper.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 32ae78c..057ed3d 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ from setuptools import setup, find_packages -__version__ = 1.1 +__version__ = 1.2 with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md'), encoding='utf-8') as f: diff --git a/webrtcvad_wrapper/webrtcvad_wrapper.py b/webrtcvad_wrapper/webrtcvad_wrapper.py index d6f8b8e..aeb9f5d 100644 --- a/webrtcvad_wrapper/webrtcvad_wrapper.py +++ b/webrtcvad_wrapper/webrtcvad_wrapper.py @@ -306,9 +306,7 @@ def __filter_frames(self, frames, padding_duration_ms=50, threshold_voice_frames end = start + len_segment filtered_segments_spans.append([round(start, 2), round(end, 2), filtered_segments[i][0]]) - #self.set_mode(self.sensitivity_mode) del vad - return filtered_segments_spans @@ -480,4 +478,4 @@ def main(): if __name__ == '__main__': - main() \ No newline at end of file + main()