Skip to content

Commit 9b13803

Browse files
committed
some changes before the first build
1 parent 5ba14e4 commit 9b13803

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"json.maxItemsComputed": 10000000
2+
"json.maxItemsComputed": 10000000,
3+
"python.linting.pylintEnabled": true,
4+
"python.linting.enabled": true,
5+
"python.pythonPath": "C:\\Users\\punit\\AppData\\Local\\Programs\\Python\\Python39\\python.exe"
36
}

file/main.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import json
1414
import requests
1515
from database import find
16+
from pygame import mixer
1617

1718

1819
print('Loading your AI personal assistant - Kabir')
@@ -57,6 +58,7 @@ def takeCommand():
5758
return "None"
5859
return statement
5960

61+
6062
speak("Loading your AI personal assistant Kabir")
6163
wishMe()
6264

@@ -66,6 +68,11 @@ def takeCommand():
6668

6769
while True:
6870
speak("Tell me how can I help you?")
71+
mixer.init()
72+
mixer.music.load('imp\\init.mp3')
73+
mixer.music.play()
74+
75+
6976
statement = takeCommand().lower()
7077
if statement==0:
7178
continue

imp/init.mp3

43.6 KB
Binary file not shown.

screenshots/img.png

26.6 KB
Loading

0 commit comments

Comments
 (0)