netHighTech-STT 1.0.5__py3-none-any.whl → 1.0.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,17 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>netHighTech AI Voice</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ </head>
9
+ <body>
10
+ <div class="container">
11
+ <h1>netHighTech Listening</h1>
12
+ <button id="start-btn">Start Recognition</button>
13
+ <div id="result"></div>
14
+ </div>
15
+ <script src="script.js"></script>
16
+ </body>
17
+ </html>
@@ -0,0 +1 @@
1
+ are you listening
@@ -0,0 +1,32 @@
1
+ const output = document.getElementById('result');
2
+ const startBtn = document.getElementById('start-btn');
3
+
4
+ const SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;
5
+
6
+ if (SpeechRecognition) {
7
+ const recognition = new SpeechRecognition();
8
+ recognition.interimResults = false;
9
+ recognition.lang = 'en-US';
10
+ recognition.continuous = true;
11
+
12
+ recognition.onresult = (event) => {
13
+ let transcript = "";
14
+ for (let i = event.resultIndex; i < event.results.length; ++i) {
15
+ transcript += event.results[i][0].transcript;
16
+ }
17
+ output.textContent = transcript.trim();
18
+ };
19
+
20
+ startBtn.addEventListener('click', () => {
21
+ output.textContent = '';
22
+ recognition.start();
23
+ startBtn.textContent = 'Active...';
24
+ });
25
+
26
+ recognition.onend = () => {
27
+ recognition.start(); // Loop listening
28
+ };
29
+
30
+ } else {
31
+ alert("Browser not supported!");
32
+ }
@@ -0,0 +1,31 @@
1
+ body {
2
+ background-color: #000;
3
+ color: #00ffcc;
4
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
5
+ text-align: center;
6
+ padding-top: 50px;
7
+ }
8
+ .container {
9
+ border: 2px solid #00ffcc;
10
+ display: inline-block;
11
+ padding: 30px;
12
+ border-radius: 15px;
13
+ box-shadow: 0 0 20px #00ffcc;
14
+ }
15
+ #result {
16
+ margin-top: 20px;
17
+ font-size: 1.5rem;
18
+ min-height: 50px;
19
+ }
20
+ button {
21
+ background: transparent;
22
+ color: #00ffcc;
23
+ border: 1px solid #00ffcc;
24
+ padding: 10px 20px;
25
+ cursor: pointer;
26
+ border-radius: 5px;
27
+ }
28
+ button:hover {
29
+ background: #00ffcc;
30
+ color: #000;
31
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: netHighTech_STT
3
- Version: 1.0.5
3
+ Version: 1.0.8
4
4
  Summary: Speech recognition Jarvis package
5
5
  Author: Zubair Khan
6
6
  Author-email: zubairdev00@gmail.com
@@ -0,0 +1,9 @@
1
+ netHighTech_STT/__init__.py,sha256=up1sJm88atcCaNREE70Glpfk_pj1KSrYOZlKCqE3348,1462
2
+ netHighTech_STT/index.html,sha256=1GDTB2N4075zRMO45tbOFePGQTurIL_N81gzWuJ-ZfM,480
3
+ netHighTech_STT/input.txt,sha256=VIiBlZdsasl3vJI2Zb6WJTQjh5kW_6WTdlxl5oHRwYk,17
4
+ netHighTech_STT/script.js,sha256=0gJFL9wolkVNw5wXn26qje4Me5Zj4BkQshKvbtBNWWQ,974
5
+ netHighTech_STT/style.css,sha256=essXNq22m4xMsMfBje0hAsobZVZJGXTynoA6AqC0eRU,648
6
+ nethightech_stt-1.0.8.dist-info/METADATA,sha256=dyMVXq_WJThBIEqbGskwai_Y92GLsxOF51pkVbCOHys,305
7
+ nethightech_stt-1.0.8.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
8
+ nethightech_stt-1.0.8.dist-info/top_level.txt,sha256=R7VX40ODE5BrA2yz1HGB_zHPVlqoSGCK144TF29SPIw,16
9
+ nethightech_stt-1.0.8.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- netHighTech_STT/__init__.py,sha256=up1sJm88atcCaNREE70Glpfk_pj1KSrYOZlKCqE3348,1462
2
- nethightech_stt-1.0.5.dist-info/METADATA,sha256=8m3s9clKgWyWjbvx0Fh0VNjbK7lCc_iGLJyp_iz760k,305
3
- nethightech_stt-1.0.5.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
4
- nethightech_stt-1.0.5.dist-info/top_level.txt,sha256=R7VX40ODE5BrA2yz1HGB_zHPVlqoSGCK144TF29SPIw,16
5
- nethightech_stt-1.0.5.dist-info/RECORD,,