Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import speech_recognition as sr
- import os
- import sys
- import webbrowser
- import pysttx3
- def talk (words):
- engine = pyttsx3.init()
- engine.say(words)
- engine.runAndWait()
- talk ("Cпроси что-нибудь")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement