Coder-KP commited on
Commit
6551967
·
verified ·
1 Parent(s): e689e0a

Updated env retrival method

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -10,7 +10,7 @@ from docx import Document
10
  import time
11
 
12
  load_dotenv()
13
- genai_Api_Key = st.secrets["API_KEY"]
14
 
15
  genai.configure(api_key=genai_Api_Key)
16
 
 
10
  import time
11
 
12
  load_dotenv()
13
+ genai_Api_Key = os.getenv("API_KEY")
14
 
15
  genai.configure(api_key=genai_Api_Key)
16