C-Nedelcu / talk-to-chatgpt

Talk to ChatGPT AI using your voice and listen to its answers through a voice
GNU Affero General Public License v3.0
1.97k stars 333 forks source link

How to modify the code, TTS the entire paragraph directly without Split the text into sentences? #48

Closed Binsheng closed 1 year ago

Binsheng commented 1 year ago

Really appreciate your Chrome Extension, I LOVE IT!

There is one question that has been bugging me . I know that in order for the speech synthesis to start speaking as soon as possible, you split the text into sentences and read them aloud one by one.

But this leads to huge pauses between each sentence.

how can we modify the code ,so TTS the entire paragraph directly without Split the text into sentences?

THANKS!

Binsheng commented 1 year ago

With the help of chatgpt, I solved this problem.

thank you all.