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.96k stars 335 forks source link

Whenever the voice gets to a punctuation the program appears to freeze for 10-20 seconds #179

Open Soulsproxyy opened 9 months ago

Soulsproxyy commented 9 months ago

Whenever the voice gets to a punctuation the program appears to freeze for 10-20 seconds at a time before resuming. I tried checking "Don't use commas/semicolons/etc. to break down replies into sentences" but that did not resolve the issue.

C-Nedelcu commented 9 months ago

I am not getting this problem currently in v2.7.0 so I have to label this "can't reproduce" for the time being. Does anyone else have this issue?

In order to help you out, I would need to know the answer to this series of questions which I will now copy-paste to everyone who has issues.

1) What version are you using ? => v2.7.0

2) What web browser and OS are you using - please indicate the name and version?

3) Can you please put a screenshot showing all your current settings (hide the ElevenLabs API key if relevant) ?

4) Can you please copy and paste here the console log (this can be found in the Chrome developer tools, open the "Console" tab, then copy everything) ?

5) What other ChatGPT plugins are you using?

6) A lot of the times, other intrusive plugins conflict with normal use and generate unexpected behavior. Have you tried disabling all ChatGPT-related plugins except Talk-to-ChatGPT ?

C-Nedelcu commented 9 months ago

I have published v2.7.1 FYI but it shouldn't help towards your problem.

However I realized something: most of the times, the first word chatGPT sends is "Hello!" so that is quick to process. The next sentence can be quite long, and take some time to process by the ElevenLabs server, especially if:

I would recommend trying with the browser's built-in text-to-speech functionality and see if it helps.