Skip to content

Commit

Permalink
Changed the accent
Browse files Browse the repository at this point in the history
  • Loading branch information
deadmantfa committed Mar 9, 2021
1 parent f9208d3 commit cd94a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cd94a97

Please sign in to comment.