Spaces:
Sleeping
Sleeping
taratrankennedy
commited on
Update GPT Version
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def generate_response(user_query, relevant_segment):
|
|
73 |
{"role": "user", "content": user_message}
|
74 |
]
|
75 |
response = openai.ChatCompletion.create(
|
76 |
-
model="gpt-
|
77 |
messages=messages,
|
78 |
max_tokens=150,
|
79 |
temperature=0.2,
|
|
|
73 |
{"role": "user", "content": user_message}
|
74 |
]
|
75 |
response = openai.ChatCompletion.create(
|
76 |
+
model="gpt-3.5-turbo", # Verify model name
|
77 |
messages=messages,
|
78 |
max_tokens=150,
|
79 |
temperature=0.2,
|