Python-Projects
Python-Projects copied to clipboard
[Optimization] Optimize pyttsx3 usage by removing unnecessary engine.stop() call
Description
In the Text-to-Speech (TTS) functionality using the pyttsx3 library, there is an unnecessary call to engine.stop() right after engine.runAndWait(). Since engine.runAndWait() already waits for the speech to finish, calling engine.stop() is redundant. This may lead to unnecessary resource usage or potential issues when performing continuous speech synthesis.
Hey, I’d like to work on this issue for Hacktoberfest. Can you please assign it to me?