from TTS.TTS import TTS
from STT.STT import STT
from time import sleep
class Assistant:
    def __init__(self):
        self.tts = TTS()
        self.stt = STT()
        self.tts.greeting()
        self.running = True
        sleep(1)
        self.userInput()

    def userInput(self):
        returned = self.stt.StartListening()
        self.tts.savePhrase(returned,1)






if __name__ == "__main__":
    x = Assistant()
