mikeee commited on
Commit
4beef7e
·
1 Parent(s): adf9507

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ from loguru import logger
17
  st.set_page_config(page_title="Talk2Book", page_icon="📖")
18
 
19
  # ns = SimpleNamespace(counter=0)
20
- os.environ["OPENAI_API_KEY"] == st.secrets["OPENAI_API_KEY"]
21
  open_api_key = os.getenv('OPENAI_API_KEY', '')
22
  logger.debug(f" open_api_key: [{open_api_key}]")
23
 
 
17
  st.set_page_config(page_title="Talk2Book", page_icon="📖")
18
 
19
  # ns = SimpleNamespace(counter=0)
20
+ os.environ["OPENAI_API_KEY"] = st.secrets["OPENAI_API_KEY"]
21
  open_api_key = os.getenv('OPENAI_API_KEY', '')
22
  logger.debug(f" open_api_key: [{open_api_key}]")
23