<reponame>HenriqueSOliver/Zoe<filename>teste/tts.py
import pyttsx3
engine = pyttsx3.init()


voices = engine.getProperty('voices')
engine.setProperty('voice', voices[0].id)

engine.say("Oi, família Dahora! Eu sou a Zoe!")
engine.say("Sou uma assistente virtual em I.A, criada por <NAME>")
engine.runAndWait()

'''
for voice in voices:
    print(engine.setProperty('voice', voices[0].id))'''
import pyttsx3
engine = pyttsx3.init()


voices = engine.getProperty('voices')
engine.setProperty('voice', voices[0].id)

engine.say("Oi, família Dahora! Eu sou a Zoe!")
engine.say("Sou uma assistente virtual em I.A, criada por <NAME>")
engine.runAndWait()

'''
for voice in voices:
    print(engine.setProperty('voice', voices[0].id))'''
for voice in voices:     print(engine.setProperty('voice', voices[0].id))