mbhoge commited on
Commit
2dc247d
·
verified ·
1 Parent(s): 43fba69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from langchain.llms import OpenAI
5
  # Function to return the response
6
  def load_answer(question):
7
  # Initialize the OpenAI API
8
- llm = OpenAI(model_name="text-davinci-003", temperature=0.9)
9
  # Generate the response
10
  response = llm(question)
11
 
 
5
  # Function to return the response
6
  def load_answer(question):
7
  # Initialize the OpenAI API
8
+ llm = OpenAI(model_name="gpt-3.5-turbo-instruct", temperature=0.9)
9
  # Generate the response
10
  response = llm(question)
11