diff --git a/neon_audio/tts/neon.py b/neon_audio/tts/neon.py index 06d8a80..dd84cbb 100644 --- a/neon_audio/tts/neon.py +++ b/neon_audio/tts/neon.py @@ -160,9 +160,8 @@ def _play(self): class WrappedTTS(TTS): - _stopwatch = Stopwatch("get_tts") - def __new__(cls, base_engine, *args, **kwargs): + base_engine._stopwatch = Stopwatch("get_tts") base_engine.execute = cls.execute base_engine.get_multiple_tts = cls.get_multiple_tts # TODO: Below method is only to bridge compatibility