Is it possible to use something similar to the following python code to prevent the need to have Azure?
import pyttsx3
example_returned_text = 'This is an example of how using these few lines of code may prevent the need to use the Azure Speech Service. Just replace this line of code with the output text that is returned from the AI'
def speak(api_text: str, speech_rate=125, speech_volume=1.0):
engine = pyttsx3.init()
engine.setProperty('rate', speech_rate)
engine.setProperty('volume', speech_volume)
engine.say(api_text)
engine.runAndWait()
speak(example_returned_text)