Commit Graph

8 Commits (b87d126e324059db3b47863dbe8e5d852234196b)

Author SHA1 Message Date
Toran Bruce Richards a55a64c1c9 Adds voice index back in.
Agents now have a different voice again.
2023-04-06 08:46:57 +01:00
Toran Bruce Richards e1d3cc9492 Fixes:
TypeError: eleven_labs_speech() missing 1 required positional argument: 'text'
2023-04-04 13:09:33 +01:00
Master Blood 68e4af8685 Added a default (free) library for text to speech
Adds the gTTS (Google Text-to-Speech) Python library as a fallback for text-to-speech conversion in the speak.py file. The changes were made to ensure that users can still convert text to speech even if the ElevenLabs API key is not set or if the API encounters an error. Additionally, the requirements.txt file has been updated to include the new gTTS dependency.
2023-04-03 22:38:01 -07:00
Taylor Brown 80ccd10d0b Use gpt-4 by default for the main thought process
Allow specifying the llm through dotenv
Move more things into config
2023-04-02 21:35:28 -05:00
James C. Palmer 5e746afef8 Use `load_dotenv()` in `chat.py` and `speak.py`. 2023-04-02 09:32:25 -04:00
James C. Palmer ef656a0f77 Remove `keys.py` and replace with `python-dotenv`.
- Removed `keys.py`.
- Added `.env.template`.
- Added `.env` to `.gitignore`.
- Updated various files that imported `keys` to use `os.getenv` instead.
- Updated `requirements.txt` dependencies.
- Updated README.md with instructions on setting up environment variables.

This change improves security, flexibility, and makes it easier to use Auto-GPT in notebooks. Environment variables are stored in `.env` and loaded via `load_dotenv()` in `scripts/main.py`.
2023-04-02 06:39:55 -04:00
Torantulino b4685f67e6 Apply autopep8 formatting to entire codebase 2023-04-02 09:13:15 +01:00
Torantulino 7f98e8adfe Deletes old output renderer and renames AutonomousAI folder to scripts 2023-03-31 22:49:17 +01:00