dayuan commited on
Commit
a3ace0e
·
1 Parent(s): 64a9585

update key

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -10,9 +10,9 @@ from langchain import OpenAI
10
  from langchain.chains.qa_with_sources import load_qa_with_sources_chain
11
 
12
 
13
- with open("data/key.txt") as f:
14
- openai_key = f.read().strip()
15
- os.environ["OPENAI_API_KEY"] = openai_key
16
 
17
  @st.cache
18
  def get_docstore():
 
10
  from langchain.chains.qa_with_sources import load_qa_with_sources_chain
11
 
12
 
13
+ # with open("data/key.txt") as f:
14
+ # openai_key = f.read().strip()
15
+ # os.environ["OPENAI_API_KEY"] = openai_key
16
 
17
  @st.cache
18
  def get_docstore():