commit message

This commit is contained in:
Kunal Patil 2022-10-09 09:14:32 +05:30
parent a0878b5d01
commit 15836a94bf
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,13 @@
import wikipedia
import pyttsx3
engine = pyttsx3.init('sapi5')
voices = engine.getProperty('voices')
engine.setProperty('voice', voices[0].id)
def speak(audio):
engine.say(audio)
engine.runAndWait()
query = input("What You Want To Ask ??")
results = wikipedia.summary(query, sentences=2)
speak("According to Wikipedia\n")
print(results)
speak(results)

View File

@ -0,0 +1,10 @@
# Getting Wikipedia Information
super easy and simple python script to get wikipedia information
## Installation
Install the dependencies
```sh
pip install -r requirements.txt
```

View File

@ -0,0 +1 @@
pyttsx3==2.90