Commit Graph

40 Commits

Author SHA1 Message Date
meta-fx
3d783e08bc Resolved conflicts 2023-04-13 22:47:21 -05:00
Drikus Roor
d1ea6cf002 lint: Fix all E302 linting errors 2023-04-13 10:50:51 +02:00
Drikus Roor
1f837968ff fix: Fix flake8 errors based on the flake8 command with a narrower definition of errors 2023-04-12 22:12:25 +02:00
Wlad
c6605b06c5 Merge remote-tracking branch 'upstream/master' into fix-user-feedback-json-error 2023-04-12 10:58:09 +02:00
Wlad
4063483b87 add my fixes 2023-04-12 10:56:54 +02:00
Dill
f8438aabc2 Added option for custom elevenlabs voice IDs. 2023-04-11 21:37:03 -07:00
meta-fx
570f76bd51 Removed trailing spaces and fixed CRLF being removed 2023-04-11 14:44:22 -05:00
meta-fx
3cdde2d49c Resolved conflicts in config.py and speak.py 2023-04-11 08:15:58 -05:00
meta-fx
3ee62211db Fixed formatting issues 2023-04-10 20:56:27 -05:00
meta-fx
0cf790b633 Added new env variable and speech function for alternative TTS voice 2023-04-10 20:00:43 -05:00
Bituq
353785d23d Fix macos_tts_speech merge conflict 2023-04-11 00:50:57 +02:00
Dylan N
88a802a675 Remove voice_settings parameters
I removed the voice_settings parameters as it was an irrelevant change.
2023-04-10 16:44:01 +02:00
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
Dylan N
89853cf3b8 Merge branch 'master' into master 2023-04-06 14:04:26 +02:00
Dylan
ef4a02757f Add semaphore to speak module 2023-04-06 14:02:39 +02:00
Dylan
0cbd2bb3d0 Fix voice_index not being used 2023-04-06 11:59:46 +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
Bituq
73bf928c1d fixed speech blocking main thread 2023-04-05 15:50:28 +02: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