Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import os
|
|
7 |
|
8 |
# Function to load openai model and get response
|
9 |
def get_open_ai_response(question):
|
10 |
-
llm = OpenAI(
|
11 |
response = llm(question)
|
12 |
return response
|
13 |
|
|
|
7 |
|
8 |
# Function to load openai model and get response
|
9 |
def get_open_ai_response(question):
|
10 |
+
llm = OpenAI(model_name = "gpt-3.5-turbo-instruct", temperature=0.5)
|
11 |
response = llm(question)
|
12 |
return response
|
13 |
|