villageideate commited on
Commit
6754585
1 Parent(s): a888cc0

Update app.py

Browse files

Removed old comment reference to setting OS environment variable for OpenAI key

Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -26,7 +26,6 @@ def chatbot(input, history=[]):
26
 
27
  # function to set OpenAI key and initalize LangChain chain
28
  def set_open_ai_key(input):
29
- # os.environ["OPENAI_API_KEY"] = input
30
 
31
  # read in embedddings from vector db store
32
  embeddings = OpenAIEmbeddings(openai_api_key=input)
 
26
 
27
  # function to set OpenAI key and initalize LangChain chain
28
  def set_open_ai_key(input):
 
29
 
30
  # read in embedddings from vector db store
31
  embeddings = OpenAIEmbeddings(openai_api_key=input)