forked from platypush/platypush
Removed __future__ annotations (it breaks readthedocs build)
This commit is contained in:
parent
1533f7ee69
commit
7ed847b646
1 changed files with 1 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import queue
|
import queue
|
||||||
import os
|
import os
|
||||||
import threading
|
import threading
|
||||||
|
@ -265,7 +263,7 @@ class SttDeepspeechPlugin(Plugin):
|
||||||
speech = self._detect(buffer)
|
speech = self._detect(buffer)
|
||||||
return SpeechDetectedResponse(speech=speech)
|
return SpeechDetectedResponse(speech=speech)
|
||||||
|
|
||||||
def __enter__(self) -> SttDeepspeechPlugin:
|
def __enter__(self):
|
||||||
"""
|
"""
|
||||||
Context manager enter. Starts detection and returns self.
|
Context manager enter. Starts detection and returns self.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue