Shankarm08 commited on
Commit
846b654
·
verified ·
1 Parent(s): 6628c76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from langchain.chat_models import ChatOpenAI
8
 
9
  #Function to return the response
10
  def load_answer(question):
11
- llm = OpenAI(model_name="gpt-4-turbo-preview",temperature=0)
12
  answer=llm(question)
13
  return answer
14
 
 
8
 
9
  #Function to return the response
10
  def load_answer(question):
11
+ llm =ChatOpenAI(model_name="gpt-4-turbo-preview",temperature=0)
12
  answer=llm(question)
13
  return answer
14