Commit Graph

24 Commits

Author SHA1 Message Date
Wladastic
826a9c8452 Merge branch 'master' into use-macos-tts-instead-of-gtts 2023-04-10 14:47:28 +02:00
Wlad
7e9941e5b1 fix whitespace 2023-04-10 14:17:18 +02:00
Wlad
ec239734c5 fix whitespace 2023-04-10 14:15:30 +02:00
Wlad
9dbc8c0455 Merge branch 'master' into use-macos-tts-instead-of-gtts 2023-04-10 14:13:48 +02:00
Toran Bruce Richards
1f0209bba7 Fixe incorrect Docstring 2023-04-10 12:07:16 +01:00
Wlad
ed16bba0ca fix gtts_speech 2023-04-10 11:22:47 +02:00
Wlad
1946b564a1 fix gtts_speech 2023-04-10 11:22:24 +02:00
Wlad
64eb882947 fix code messup of assistant 2023-04-10 11:20:58 +02:00
Wlad
2facc3e2cb add config for mac os tts 2023-04-10 11:11:03 +02:00
Wlad
3456090117 replace gtts with macos tts 2023-04-10 04:21:23 +02:00
Andres Caicedo
26abb30674 Merge branch 'master' into dev 2023-04-09 15:42:53 +02:00
Andres Caicedo
011699e6a1 Code review changes 2023-04-09 15:39:11 +02:00
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
Andres Caicedo
6773e28b61 Merge branch 'master' into dev 2023-04-04 11:39:31 +02:00
Andres Caicedo
62615cacc9 Adds necessary spaces
Introduces spaces between code blocks.
2023-04-04 11:36:50 +02: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
Andres Caicedo
8e2074f483 Merge branch 'master' into dev 2023-04-03 13:51:36 +02: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
Andres Caicedo
eac5c1f6e6 Add documentation 2023-04-02 19:03:37 +02: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