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

gpt4o stops talk-to-gpt #248

Open relaxwithadam opened 1 month ago

relaxwithadam commented 1 month ago

since it's release on May 13th, talk to gpt no longer working in chrome

lawilfried commented 1 month ago

I believe that "talk-to-chatgpt" has a problem with the automated switching of ChatGPT from version 4.0 to 3.5 and back. I would also have preferred a stable selection.

tinchoforever commented 1 month ago

Hello everyone, IDW if this is the right place but the main thing here is to change 2 main Jquery selectors and THAT's it. 1- CN_CURRENT_MESSAGE = jQuery("[class*='group/conversation-turn']").last(); 2- jQuery("#prompt-textarea").closest("div").next("button").click();

With both of them that's all :-) I will make some time tomorrow to make sure this is pushed but if you can check on them you might get it working.

deadbydonovan commented 1 month ago

I'm new to this, but I've already solved a few issues thanks to people like you. Thanks in advance, but how do we change these two things and what do we change them to? Is it in the "content" file?

hoshizorista commented 1 month ago

hey guys, tincho solutions works, its easy, just open content.js.

1st look for

CN_CURRENT_MESSAGE = jQuery(".text-base:last").find(".items-start");

and change it to

CN_CURRENT_MESSAGE = jQuery("[class*='group/conversation-turn']").last();

2nd look for

jQuery("#prompt-textarea").closest("div").find("button:last").click();

and change it to

jQuery("#prompt-textarea").closest("div").next("button").click();

i3dman420311 commented 1 month ago

YES- Thank YOU!

hmullins22 commented 1 month ago

It's now functioning better for me - what I say goes into chat and sends - but there's no audio output (past the clicking noise when you start it). Any ideas?

i3dman420311 commented 1 month ago

I did experience this also , go to settings and change the voice to anything else. then go back to the voice you want. it isn't ideal but it worked for me

cjchang15 commented 1 month ago

same as hmullins above, mine works fine talking, sending and receiving messages, but there's no audio output. try to reset and still doesn't work

Exploiter6 commented 1 month ago

Same problem here. Made the changes and now it auto sends again after you stop talking (takes a moment), however; no speech output. Tried to trick of changing voices and then back again and still no talking out loud. I also have to hit the >> every time as well to re-enable the microphone as it keeps switching off after each send.

i3dman420311 commented 3 weeks ago

if you turn on eleven labs and save in the settings -then turn it off, text to speech starts working.

Not ideal , but maybe someone can fix it.