thisisdev commited on
Commit
46ad2c5
·
verified ·
1 Parent(s): 2d9a705

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import os
6
 
7
  # Creating a function for getting the responses from OpenAI
8
  def get_response(question):
9
- os.environ["OPENAI_API_KEY"] = key.OPENAI_API_KEY
10
  llm = OpenAI()
11
  answer = llm.invoke(question)
12
  return answer
 
6
 
7
  # Creating a function for getting the responses from OpenAI
8
  def get_response(question):
9
+ os.environ["OPENAI_API_KEY"] = keyfile.OPENAI_API_KEY
10
  llm = OpenAI()
11
  answer = llm.invoke(question)
12
  return answer