shubhendu-ghosh commited on
Commit
0e30719
1 Parent(s): 62d2dfe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -10,9 +10,9 @@ from langchain.chains.question_answering import load_qa_chain
10
  from langchain.prompts import PromptTemplate
11
  from dotenv import load_dotenv
12
 
13
- load_dotenv()
14
- os.getenv("GOOGLE_API_KEY")
15
- genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
16
 
17
 
18
 
 
10
  from langchain.prompts import PromptTemplate
11
  from dotenv import load_dotenv
12
 
13
+ #load_dotenv()
14
+ #os.getenv("GOOGLE_API_KEY")
15
+ genai.configure(api_key=st.secrets["GOOGLE_API_KEY"])
16
 
17
 
18