Skip to content

Commit

Permalink
Troubleshoot TTS stopwatch
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 2, 2023
1 parent 951a08d commit 0a585be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neon_audio/tts/neon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a585be

Please sign in to comment.