fix config read

pull/637/head
Wlad 2023-04-10 11:18:17 +02:00
parent 2facc3e2cb
commit 205a0c84cf
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ class Config(metaclass=Singleton):
openai.api_version = self.openai_api_version
self.elevenlabs_api_key = os.getenv("ELEVENLABS_API_KEY")
self.use_mac_os_tts = os.getenv("USE_MAC_OS_TTS")
self.google_api_key = os.getenv("GOOGLE_API_KEY")
self.custom_search_engine_id = os.getenv("CUSTOM_SEARCH_ENGINE_ID")