Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ from langchain import PromptTemplate
|
|
14 |
from loguru import logger
|
15 |
|
16 |
# ns = SimpleNamespace(counter=0)
|
17 |
-
os.environ["OPENAI_API_KEY"] == st.secrets["OPENAI_API_KEY"]
|
18 |
open_api_key = os.getenv('OPENAI_API_KEY', '')
|
19 |
logger.debug(f" open_api_key: [{open_api_key}]")
|
20 |
|
|
|
14 |
from loguru import logger
|
15 |
|
16 |
# ns = SimpleNamespace(counter=0)
|
17 |
+
os.environ["OPENAI_API_KEY"] == st.secrets["OPENAI_API_KEY"]
|
18 |
open_api_key = os.getenv('OPENAI_API_KEY', '')
|
19 |
logger.debug(f" open_api_key: [{open_api_key}]")
|
20 |
|