From ef7200d471a090a820f82066b5f3fb1fc0ec5835 Mon Sep 17 00:00:00 2001 From: "k.v.vora" <58413260+krupalvora@users.noreply.github.com> Date: Thu, 1 Oct 2020 11:24:17 +0530 Subject: [PATCH] Update README.rst --- README.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 75f58941..2bed2a47 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,12 @@ Python Client for Cloud Speech API ================================== - +you can also use +#for audio output instead of print it is short and simple code.And had great effect +import playsound +def voice(p): + myobj=gTTS(text=p,lang='en',slow=False) + myobj.save('try.mp3') + playsound('try.mp3') |GA| |pypi| |versions|