ryanrwatkins commited on
Commit
c6f7e29
1 Parent(s): 66200fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,8 +27,8 @@ from langchain.document_loaders import PyPDFLoader
27
  from langchain.chains.question_answering import load_qa_chain
28
 
29
  # turned off due to people using it unethical ways
30
- #openai.api_key = os.environ['openai_key']
31
- #os.environ["OPENAI_API_KEY"] = os.environ['openai_key']
32
 
33
 
34
  prompt_templates = {"All Needs Experts": "Respond as if you are combination of all needs assessment experts."}
 
27
  from langchain.chains.question_answering import load_qa_chain
28
 
29
  # turned off due to people using it unethical ways
30
+ openai.api_key = os.environ['openai_key']
31
+ os.environ["OPENAI_API_KEY"] = os.environ['openai_key']
32
 
33
 
34
  prompt_templates = {"All Needs Experts": "Respond as if you are combination of all needs assessment experts."}