Skip to content

Commit 8647134

Browse files
Merge pull request #9 from NitkarshChourasia/testing
add: Text to Audio
2 parents 3d95ce9 + e671aa4 commit 8647134

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1387
-119
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
numpy==1.26.1
1+
numpy==1.26.2
22
opencv_python==4.8.1.78
3-
mediapipe==0.10.7
3+
mediapipe==0.10.9

JARVIS/requirements.txt

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
datetime
2-
subprocess
32
pyjokes
43
requests
5-
json
4+
Pillow
65
Image
7-
Imagegrab
8-
gTTs
6+
ImageGrab
7+
gTTS
98
keyboard
10-
Key
11-
Listener
12-
Button
13-
Controller
9+
key
1410
playsound
1511
pyttsx3
16-
webbrowser
17-
smtplib
18-
speech_recognition
19-
openai
12+
SpeechRecognition
13+
openai

News_App/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
solara == 1.22.0
1+
solara == 1.25.0
22
Flask
33
gunicorn ==21.2.0
44
simple-websocket
Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,42 @@
1-
# Program to sort alphabetically the words form a string provided by the user
1+
# Program to sort words alphabetically and put them in a dictionary with corresponding numbered keys
2+
# We are also removing punctuation to ensure the desired output, without importing a library for assistance.
23

3-
my_str = "Hello this Is an Example With cased letters"
4+
# Declare base variables
5+
word_Dict = {}
6+
count = 0
7+
my_str = "Hello this Is an Example With cased letters. Hello, this is a good string"
8+
#Initialize punctuation
9+
punctuations = '''!()-[]{};:'",<>./?@#$%^&*_~'''
410

511
# To take input from the user
612
#my_str = input("Enter a string: ")
713

14+
# remove punctuation from the string and use an empty variable to put the alphabetic characters into
15+
no_punct = ""
16+
for char in my_str:
17+
if char not in punctuations:
18+
no_punct = no_punct + char
19+
20+
# Make all words in string lowercase. my_str now equals the original string without the punctuation
21+
my_str = no_punct.lower()
22+
823
# breakdown the string into a list of words
924
words = my_str.split()
1025

11-
# sort the list
26+
# sort the list and remove duplicate words
1227
words.sort()
1328

14-
# display the sorted words
15-
16-
print("The sorted words are:")
29+
new_Word_List = []
1730
for word in words:
18-
print(word)
31+
if word not in new_Word_List:
32+
new_Word_List.append(word)
33+
else:
34+
continue
35+
36+
# insert sorted words into dictionary with key
37+
38+
for word in new_Word_List:
39+
count+=1
40+
word_Dict[count] = word
41+
42+
print(word_Dict)

area_of_square.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

async_downloader/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
aiohttp==3.8.6
1+
aiohttp==3.9.0

basic example

Lines changed: 0 additions & 11 deletions
This file was deleted.

calculatorproject.py

Lines changed: 0 additions & 41 deletions
This file was deleted.

conversion.py

Lines changed: 0 additions & 19 deletions
This file was deleted.

count_vowels.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)