AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

400

Open Scorp96 opened this issue 2 years ago • 8 comments
trafficstars

Duplicates

  • [X] I have searched the existing issues

Steps to reproduce 🕹

python -m autogpt --speak --gpt3only

Current behavior 😯

C:\Auto-GPT-0.2.0>python -m autogpt --speak --gpt3only Warning: The file 'auto-gpt.json' does not exist. Local memory would not be saved to a file. Speak Mode: ENABLED GPT3.5 Only Mode: ENABLED Welcome to Auto-GPT! Enter the name of your AI and its role below. Entering nothing will load defaults. Name your AI: For example, 'Entrepreneur-GPT' AI Name: Request failed with status code: 400 Response content: b'{"detail":{"status":"invalid_uid","message":"An invalid ID has been received: 'your-voice-id-1'. Make sure to provide a correct one."}}'

Expected behavior 🤔

C:\Auto-GPT-0.2.0>python -m autogpt --speak --gpt3only Warning: The file 'auto-gpt.json' does not exist. Local memory would not be saved to a file. Speak Mode: ENABLED GPT3.5 Only Mode: ENABLED Welcome to Auto-GPT! Enter the name of your AI and its role below. Entering nothing will load defaults. Name your AI: For example, 'Entrepreneur-GPT' AI Name: Request failed with status code: 400 Response content: b'{"detail":{"status":"invalid_uid","message":"An invalid ID has been received: 'your-voice-id-1'. Make sure to provide a correct one."}}'

Your prompt 📝

python -m autogpt --speak --gpt3only

Scorp96 avatar Apr 16 '23 01:04 Scorp96

read the README file to setup correctly your voice ELEVENLABS variables in .env file
or avoid using --speak parameter

p92 avatar Apr 16 '23 01:04 p92

here you can try using this ID which will use the premade "Adam" voice ELEVENLABS_VOICE_1_ID=pNInz6obpgDQGcFmaJgB or here is the ID for "Rachel" ELEVENLABS_VOICE_1_ID=21m00Tcm4TlvDq8ikWAM

Bentlybro avatar Apr 16 '23 01:04 Bentlybro

Today, before the last update I was able to use it like this:

ELEVENLABS_API_KEY= ELEVENLABS_VOICE_1_ID=your-voice-id-1 ELEVENLABS_VOICE_2_ID=your-voice-id-2

Now if I let this like this on 0.2.1 it gets the 400 error. If I write "ELEVENLABS_VOICE_1_ID=pNInz6obpgDQGcFmaJgB" or "ELEVENLABS_VOICE_1_ID=21m00Tcm4TlvDq8ikWAM" I get a 401 error.

hubertdungen avatar Apr 16 '23 22:04 hubertdungen

Same problem.

icelasa avatar Apr 17 '23 12:04 icelasa

python -m autogpt --gpt3only

baizhongying avatar Apr 18 '23 10:04 baizhongying

you need the API key or dont use --speak

p92 avatar Apr 18 '23 11:04 p92

@hubertdungen 把 ELEVENLABS_API_KEY、ELEVENLABS_VOICE_1_ID、ELEVENLABS_VOICE_2_ID注释即可,我是注释了之后再次运行就成功了 image

zhashut avatar Apr 18 '23 12:04 zhashut

This might be the issue: https://github.com/Significant-Gravitas/Auto-GPT/pull/2788/files

coditamar avatar Apr 21 '23 08:04 coditamar

@hubertdungen 把 ELEVENLABS_API_KEY、ELEVENLABS_VOICE_1_ID、ELEVENLABS_VOICE_2_ID注释即可,我是注释了之后再次运行就成功了 image .env 文件里,默认就是注释的,填写了1的ID会出现401要求提供key

q909824095 avatar Apr 22 '23 04:04 q909824095

Issue unclear. Revise and reopen

ntindle avatar Apr 23 '23 05:04 ntindle