askrella / whatsapp-chatgpt

ChatGPT + DALL-E + WhatsApp = AI Assistant :rocket: :robot:
3.49k stars 842 forks source link

SpeechAPI Error #218

Closed ImmortalMan01 closed 1 year ago

ImmortalMan01 commented 1 year ago

image

◇ [SpeechAPI] Generating audio from GPT response "Benim durumum harika, senin durumun nasıl?"... ◇ [SpeechAPI] Audio generated! C:\Users\Ogulc\Desktop\whatsapp-chatgpt-master\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221 throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); ^

Error: Evaluation failed: u at ExecutionContext._evaluateInternal (C:\Users\Ogulc\Desktop\whatsapp-chatgpt-master\node_modules\whatsapp-web.js\node_modules\puppeteer\src\common\ExecutionContext.ts:273:13) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ExecutionContext.evaluate (C:\Users\Ogulc\Desktop\whatsapp-chatgpt-master\node_modules\whatsapp-web.js\node_modules\puppeteer\src\common\ExecutionContext.ts:140:12) at Client.sendMessage (C:\Users\Ogulc\Desktop\whatsapp-chatgpt-master\node_modules\whatsapp-web.js\src\Client.js:686:28)

Node.js v18.13.0

onemind66 commented 1 year ago

me too. i am running it in colab. maybe you need send the audio as a document

navopw commented 1 year ago

I fixed lots of issues. It currently works on my side.

I will close this PR for now. If you still have issues, please open another PR.

Thanks!