Skip to content

Commit e650fb2

Browse files
authored
Create Assist.py
1 parent f7952c0 commit e650fb2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src_A2/Assist.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import SpeechRecogniter
2+
import TaskRecogniter
3+
import VoiceEngine
4+
5+
class Assist:
6+
def __init__(self):
7+
self.start()
8+
9+
def start(self):
10+
VoiceEngine.say("Your Wing Man Is Ready To Help")
11+
while True:
12+
command = SpeechRecogniter.getinput()
13+
if command is None or command == "null":
14+
continue
15+
TaskRecogniter.filltercommand(str(command).lower())
16+
17+
assist = Assist()

0 commit comments

Comments
 (0)