From 184f40da1fb87c770689d4b77756fc0138bd9e2a Mon Sep 17 00:00:00 2001 From: horhik Date: Mon, 6 Dec 2021 14:38:26 +0300 Subject: [PATCH] little update --- voice-assistant/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/voice-assistant/main.py b/voice-assistant/main.py index a5c0963..11175c6 100755 --- a/voice-assistant/main.py +++ b/voice-assistant/main.py @@ -1,7 +1,9 @@ -#!/bin/python import speech_recognition as sr import pyttsx3 from process_text import process_text + +print("HELLOOOO") + botname = "андрей" text = 'какой-нибудь текст' tts = pyttsx3.init() @@ -26,7 +28,7 @@ def say(text): tts.runAndWait() def process_speech(text): #if (text.find("слушай " + botname)): -# say("Привет сучка, что тебе надо?") +# say("Привет, что тебе надо?") # else: say(text)