Spaces:
Build error
Build error
Commit ·
ef79a49
1
Parent(s): 0bf84d5
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from langchain.llms import OpenAI
|
|
| 8 |
|
| 9 |
#Function to return the response
|
| 10 |
def load_answer(question):
|
| 11 |
-
llm = OpenAI(model_name="
|
| 12 |
answer=llm(question)
|
| 13 |
return answer
|
| 14 |
|
|
|
|
| 8 |
|
| 9 |
#Function to return the response
|
| 10 |
def load_answer(question):
|
| 11 |
+
llm = OpenAI(model_name="gpt-4-1106-preview",temperature=0)
|
| 12 |
answer=llm(question)
|
| 13 |
return answer
|
| 14 |
|