From cd94a97964d075ad210654f8a0e30bbb6f3f3c60 Mon Sep 17 00:00:00 2001 From: deadmantfa Date: Wed, 10 Mar 2021 03:30:08 +0530 Subject: [PATCH] Changed the accent --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 99640d4..9c9edf4 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -25,7 +25,7 @@ def convert(pdf_document, start, end): text += page_current.text() # initialize tts, create mp3 and play mp3_fp = io.BytesIO() - tts = gTTS(text=text, lang='en', slow=False, lang_check=False) + tts = gTTS(text=text, lang='en', slow=False, lang_check=False, tld='co.in') tts.write_to_fp(mp3_fp) return mp3_fp except AssertionError: