Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Update brian.py - Prevent TypeError exception

Gabriel R. Barbosa64383776a248
diff --git a/autogpt/speech/brian.py b/autogpt/speech/brian.py
index e581bbcc8d..b9298f55aa 100644
--- a/autogpt/speech/brian.py
+++ b/autogpt/speech/brian.py
@@ -13,7 +13,7 @@ class BrianSpeech(VoiceBase):
"""Setup the voices, API key, etc."""
pass
- def _speech(self, text: str) -> bool:
+ def _speech(self, text: str, _: int = 0) -> bool:
"""Speak text using Brian with the streamelements API
Args: