IntelligenzaArtificiale / Free-Auto-GPT

Free Auto GPT with NO paids API is a repository that offers a simple version of Auto GPT, an autonomous AI agent capable of performing tasks independently. Unlike other versions, our implementation does not rely on any paid OpenAI API, making it accessible to anyone.
MIT License
2.44k stars 384 forks source link

Error - Google Colab #16

Closed Erickfeio closed 1 year ago

Erickfeio commented 1 year ago

Hello! How are you? I'm using google colab, and this error is appearing when I try to run BabyAgi. I already replaced the tokens correctly in the BABYAGI.py file, but it keeps showing up.

I'm not a programmer, so forgive me for my idiocy.

image image

IntelligenzaArtificiale commented 1 year ago

hi @Erickfeio Thank you for trying our colab .

Don't worry, you're just getting the way you pass tokens wrong. You don't have to edit the BABYAGI.py FILE. You just put your tokens inside HF-TOKEN and CHATGPT-TOKEN . Inserting them in the notebook line:

!python /content/Free-AUTO-GPT-with-NO-API/BABYAGI.py --hf_token < add your HF-TOKEN> --chatgpt_token <add your CHATGPT-TOKEN>

Erickfeio commented 1 year ago

It's working! Thank you. :D