wyoming-microsoft-stt 1.3.5__tar.gz → 1.3.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/PKG-INFO +1 -1
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/pyproject.toml +1 -1
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/setup.py +1 -1
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/microsoft_stt.py +6 -2
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/version.py +1 -1
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt.egg-info/PKG-INFO +1 -1
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/README.md +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/setup.cfg +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/tests/__init__.py +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/tests/conftest.py +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/tests/test_microsoft_stt.py +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/tests/test_multilanguage.py +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/tests/test_transcribe.py +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/__init__.py +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/__main__.py +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/download.py +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/handler.py +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/languages.json +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt.egg-info/SOURCES.txt +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt.egg-info/dependency_links.txt +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt.egg-info/requires.txt +0 -0
- {wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt.egg-info/top_level.txt +0 -0
|
@@ -18,7 +18,7 @@ data_files = [module_dir / "languages.json"]
|
|
|
18
18
|
|
|
19
19
|
setup(
|
|
20
20
|
name="wyoming_microsoft_stt",
|
|
21
|
-
version="1.3.
|
|
21
|
+
version="1.3.7",
|
|
22
22
|
description="Wyoming Server for Microsoft STT",
|
|
23
23
|
url="https://github.com/hugobloem/wyoming-microsoft-stt",
|
|
24
24
|
author="Hugo Bloem",
|
{wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/microsoft_stt.py
RENAMED
|
@@ -85,8 +85,8 @@ class MicrosoftSTT:
|
|
|
85
85
|
_LOGGER.debug(f"{event.result}")
|
|
86
86
|
self._results = event.result
|
|
87
87
|
|
|
88
|
-
self._speech_recognizer.start_continuous_recognition()
|
|
89
88
|
self._speech_recognizer.recognized.connect(recognized)
|
|
89
|
+
self._speech_recognizer.start_continuous_recognition_async()
|
|
90
90
|
|
|
91
91
|
def push_audio_chunk(self, chunk: bytes) -> None:
|
|
92
92
|
"""Push an audio chunk to the recognizer."""
|
|
@@ -107,7 +107,11 @@ class MicrosoftSTT:
|
|
|
107
107
|
while not self.recognition_done:
|
|
108
108
|
time.sleep(0.01)
|
|
109
109
|
|
|
110
|
-
self._speech_recognizer.
|
|
110
|
+
out_future = self._speech_recognizer.stop_continuous_recognition_async()
|
|
111
|
+
|
|
112
|
+
out = out_future.get()
|
|
113
|
+
|
|
114
|
+
_LOGGER.debug(f"Transcription stopped, result: {out}")
|
|
111
115
|
|
|
112
116
|
if self._results is None:
|
|
113
117
|
_LOGGER.debug("No results from transcription.")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/__init__.py
RENAMED
|
File without changes
|
{wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/__main__.py
RENAMED
|
File without changes
|
{wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/download.py
RENAMED
|
File without changes
|
{wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/handler.py
RENAMED
|
File without changes
|
{wyoming_microsoft_stt-1.3.5 → wyoming_microsoft_stt-1.3.7}/wyoming_microsoft_stt/languages.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|