Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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 |
|