Skip to content

Commit 540e17d

Browse files
author
Yash
committed
website files are added
0 parents  commit 540e17d

File tree

4 files changed

+216
-0
lines changed

4 files changed

+216
-0
lines changed

Anything_Uninstaller.ico

167 KB
Binary file not shown.

Max_AI.png

4.85 KB
Loading

Max_AI.py

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# import all the modules from your computer
2+
import datetime
3+
import time
4+
import webbrowser
5+
import pyttsx3
6+
import speech_recognition as sr
7+
import psutil
8+
9+
# it is use your computers voice
10+
def defult_voice(audio):
11+
engine = pyttsx3.init('sapi5')
12+
voices = engine.getProperty('voices')
13+
engine.setProperty('voice', voices[0].id)
14+
engine.say(audio)
15+
engine.runAndWait()
16+
17+
# it is use your computers voice
18+
def mail_voice(audio):
19+
engine = pyttsx3.init('sapi5')
20+
voices = engine.getProperty('voices')
21+
engine.setProperty('voice', voices[0].id)
22+
engine.say(audio)
23+
engine.runAndWait()
24+
25+
# it is use your computers voice
26+
def femail_voice(audio):
27+
engine = pyttsx3.init('sapi5')
28+
voices = engine.getProperty('voices')
29+
engine.setProperty('voice', voices[1].id)
30+
engine.say(audio)
31+
engine.runAndWait()
32+
33+
# it is a string which is used for checking battery level in percentage
34+
def battery():
35+
psutil.sensors_battery().percent
36+
37+
# wishme function use your computer's defult voice
38+
def wish_by_time():
39+
hour = datetime.datetime.now().hour
40+
if 0 <= hour < 12:
41+
defult_voice("good morning")
42+
elif 12 <= hour < 18:
43+
defult_voice("good afternoon")
44+
else:
45+
defult_voice("good evening")
46+
47+
# used for listening your queries from your microphone
48+
def listen():
49+
r = sr.Recognizer()
50+
with sr.Microphone() as source:
51+
print("Listening...")
52+
defult_voice("Listening...")
53+
r.pause_threshold = 1
54+
audio = r.listen(source)
55+
try:
56+
print("Recognizing...")
57+
defult_voice("Recognizing...")
58+
query = r.recognize_google(audio, language='en-in')
59+
print(f"user said: {query}\n")
60+
defult_voice(f"user said: {query}")
61+
except Exception as e:
62+
print("say that again please")
63+
defult_voice("say that again please")
64+
return "None"
65+
return query
66+
67+
# to know the current time in Hour, Minute and seconds from your computer
68+
def now():
69+
str(time.strftime("%H:%M:%S"))
70+
71+
# you can search any thing like URL using your defult webbrowser
72+
def web(URL):
73+
webbrowser.open(URL)

index.html

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<link rel="icon shortcut" href="Max_AI.png">
8+
<title>Max AI</title>
9+
</head>
10+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
11+
<style>
12+
body{
13+
background-color: black;
14+
}
15+
.container-fluid a b{
16+
color: cyan;
17+
}
18+
nav{
19+
background-image: url('Max_AI.png');
20+
background-size: cover;
21+
height: 10%;
22+
}
23+
nav ul li a b {
24+
color: cyan;
25+
}
26+
#AU{
27+
align-items: center;
28+
justify-content: center;
29+
position: absolute;
30+
bottom: 0%;
31+
top: 25%;
32+
}
33+
#owner{
34+
align-items: center;
35+
position: absolute;
36+
justify-content: center;
37+
right: 0%;
38+
}
39+
</style>
40+
<body>
41+
<nav class="navbar navbar-expand-lg navbar-light bg-light">
42+
<div class="container-fluid">
43+
<a class="navbar-brand" href="">
44+
<b>
45+
<img src="Max_AI.png" alt="" width="50px" height="50px">
46+
Max AI
47+
</b>
48+
</a>
49+
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
50+
<span class="navbar-toggler-icon"></span>
51+
</button>
52+
<div class="collapse navbar-collapse" id="navbarSupportedContent">
53+
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
54+
<li class="nav-item">
55+
<a class="nav-link" href="">
56+
<b>
57+
<i class="bi bi-house"></i>
58+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-house" viewBox="0 0 16 16">
59+
<path fill-rule="evenodd" d="M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z"/>
60+
<path fill-rule="evenodd" d="M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z"/>
61+
</svg>
62+
Home
63+
</b>
64+
</a>
65+
</li>
66+
<li class="nav-item">
67+
<a target="_blank" class="nav-link" href="https://www.github.com/Yash12007/">
68+
<b>
69+
<i class="bi bi-github"></i>
70+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-github" viewBox="0 0 16 16">
71+
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"/>
72+
</svg>
73+
Github
74+
</b>
75+
</a>
76+
<li>
77+
<a target="_blank" class="nav-link" href="Max_AI.py">
78+
<b>
79+
<i class="bi bi-download"></i>
80+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-download" viewBox="0 0 16 16">
81+
<path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/>
82+
<path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/>
83+
</svg>
84+
Download Max AI
85+
</b>
86+
</a>
87+
</li>
88+
<a class="nav-link" id="owner" target="_blank" href="https://www.github.com/Yash12007/">
89+
<b>
90+
Website Owner
91+
</b>
92+
</a>
93+
</ul>
94+
</div>
95+
</div>
96+
</nav>
97+
<div id="btn">
98+
<a href="Max_AI.py" class="btn btn-primary"><b>Download Max AI</b></a>
99+
</div>
100+
<p style="color: white;">Max AI is a python file to helps you to create an AI within few seconds,
101+
If your listening... function isn't working then the (pyaudio) library is missing in your computer.
102+
</p>
103+
</div>
104+
<div id="AU">
105+
<img src="Anything_Uninstaller.ico" alt="">
106+
<p style="color: white;">Is an executable file (.exe) that helps you to uninstall any type of file or folder from your system
107+
it is very easy to use if you enter the file path in the entry box then just click on Uninstall and then,
108+
your file or folder will be completely uninstalled but if there you found an error in the red color then,
109+
it comes through your system so, no problem to use it, also follow me on https://github.com/Yash12007,
110+
Thank you.</p>
111+
<h1 style="color: white;">Download Anything Uninstaller</h1>
112+
<table class="table table-dark table-striped">
113+
<thead>
114+
<tr>
115+
<th scope="col">Sr no.</th>
116+
<th scope="col">Name</th>
117+
<th scope="col">Size</th>
118+
<th scope="col">Website</th>
119+
<th scope="col">Date of published</th>
120+
</tr>
121+
</thead>
122+
<tbody>
123+
<tr>
124+
<th scope="row">1</th>
125+
<td><a href="https://github.com/Yash12007/Project/blob/main/applications/Anything%20Uninstaller%20for%20windows%2010.zip">Anything Uninstaller for windows 10.zip</a></td>
126+
<td>20.9 MB</td>
127+
<td><a href="https://github.com/Yash12007/Project/tree/main/applications">https://github.com/Yash12007/Project/tree/main/applications</a></td>
128+
<td>25/5/2022</td>
129+
</tr>
130+
<tr>
131+
<th scope="row">2</th>
132+
<td><a href="https://github.com/Yash12007/Project/blob/main/applications/Anything_Uninstaller_Setup.exe">Anything_Uninstaller_Setup.exe</a></td>
133+
<td>20.2 MB</td>
134+
<td><a href="https://github.com/Yash12007/Project/tree/main/applications">https://github.com/Yash12007/Project/tree/main/applications</a></td>
135+
<td>11/6/2022</td>
136+
</tr>
137+
</tbody>
138+
</table>
139+
</div>
140+
</body>
141+
<script>
142+
</script>
143+
</html>

0 commit comments

Comments
 (0)