fix self.tffytfp in async interpreter
This commit is contained in:
parent
72f41ad760
commit
1c4be961c2
|
@ -132,8 +132,8 @@ class AsyncInterpreter:
|
||||||
# Experimental: The AI voice sounds better with replacements like these, but it should happen at the TTS layer
|
# Experimental: The AI voice sounds better with replacements like these, but it should happen at the TTS layer
|
||||||
# content = content.replace(". ", ". ... ").replace(", ", ", ... ").replace("!", "! ... ").replace("?", "? ... ")
|
# content = content.replace(". ", ". ... ").replace(", ", ", ... ").replace("!", "! ... ").replace("?", "? ... ")
|
||||||
# print("yielding ", content)
|
# print("yielding ", content)
|
||||||
if self.time_from_first_yield_to_first_put is None:
|
if self.tffytfp is None:
|
||||||
self.time_from_first_yield_to_first_put = time.time()
|
self.tffytfp = time.time()
|
||||||
|
|
||||||
yield content
|
yield content
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue