Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
IliaLarchenko
commited on
Commit
•
01d885f
1
Parent(s):
3d5967b
Override env
Browse files
config.py
CHANGED
@@ -13,7 +13,7 @@ class ServiceConfig:
|
|
13 |
|
14 |
class Config:
|
15 |
def __init__(self):
|
16 |
-
load_dotenv()
|
17 |
self.llm = ServiceConfig("LLM_URL", "LLM_TYPE", "LLM_NAME")
|
18 |
self.stt = ServiceConfig("STT_URL", "STT_TYPE", "STT_NAME")
|
19 |
self.tts = ServiceConfig("TTS_URL", "TTS_TYPE", "TTS_NAME")
|
|
|
13 |
|
14 |
class Config:
|
15 |
def __init__(self):
|
16 |
+
load_dotenv(override=True)
|
17 |
self.llm = ServiceConfig("LLM_URL", "LLM_TYPE", "LLM_NAME")
|
18 |
self.stt = ServiceConfig("STT_URL", "STT_TYPE", "STT_NAME")
|
19 |
self.tts = ServiceConfig("TTS_URL", "TTS_TYPE", "TTS_NAME")
|