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.
Removed trailing spaces and fixed CRLF being removed
meta-fx570f76bd51a2
diff --git a/scripts/config.py b/scripts/config.pyindex cdf0287c4b..c4ad3bf4eb 100644--- a/scripts/config.py+++ b/scripts/config.py@@ -72,7 +72,7 @@ class Config(metaclass=Singleton):# User agent headers to use when browsing web# Some websites might just completely deny request with an error code if no user agent was found.- self.user_agent_header = {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"}+ self.user_agent_header = {"User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"}self.redis_host = os.getenv("REDIS_HOST", "localhost")self.redis_port = os.getenv("REDIS_PORT", "6379")self.redis_password = os.getenv("REDIS_PASSWORD", "")@@ -134,4 +134,4 @@ class Config(metaclass=Singleton):def set_debug_mode(self, value: bool):"""Set the debug mode value."""- self.debug_mode = value\ No newline at end of file+ self.debug_mode = valuediff --git a/scripts/speak.py b/scripts/speak.pyindex bf5c6034fa..4934ecef1d 100644--- a/scripts/speak.py+++ b/scripts/speak.py@@ -67,7 +67,7 @@ def macos_tts_speech(text):os.system(f'say "{text}"')def say_text(text, voice_index=0):-+def speak():if not cfg.elevenlabs_api_key:if cfg.use_mac_os_tts == 'True':@@ -87,4 +87,4 @@ def say_text(text, voice_index=0):queue_semaphore.acquire(True)thread = threading.Thread(target=speak)- thread.start()\ No newline at end of file+ thread.start()