Not sure, I wasnt aware of this and hasnt done it on my side but thanks for letting me know I'll see if i can figure out the issue.
fortbonnitar
9
Posts
1
Followers
1
Following
A member registered Mar 14, 2021 · View creator page →
Creator of
Recent community posts
Lousy Neural Network Evolution Simulator comments · Replied to Nicholas Foo in Lousy Neural Network Evolution Simulator comments
Lousy Neural Network Evolution Simulator comments · Posted in Lousy Neural Network Evolution Simulator comments
Yandere AI Girlfriend Simulator (Demo) - API SETUP Tutorial comments · Posted in Yandere AI Girlfriend Simulator (Demo) - API SETUP Tutorial comments
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)