ajwthompson commited on
Commit
10362c2
·
1 Parent(s): 96607b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ class ChatWrapper:
36
 
37
  with open("vectorstore.pkl", "rb") as f:
38
  vectorstore = pickle.load(f)
39
-
40
  qa_chain = get_chain(vectorstore)
41
  chat_history = []
42
  print("Chat with your docs!")
 
36
 
37
  with open("vectorstore.pkl", "rb") as f:
38
  vectorstore = pickle.load(f)
39
+ os.environ["OPENAI_API_KEY"] = api_key
40
  qa_chain = get_chain(vectorstore)
41
  chat_history = []
42
  print("Chat with your docs!")