Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,9 +73,9 @@ def generate_response(user_query, relevant_segment):
|
|
73 |
messages.append({"role": "user", "content": user_message})
|
74 |
|
75 |
response = openai.ChatCompletion.create(
|
76 |
-
model="gpt-
|
77 |
messages=messages,
|
78 |
-
max_tokens=
|
79 |
temperature=0.2,
|
80 |
top_p=1,
|
81 |
frequency_penalty=0,
|
|
|
73 |
messages.append({"role": "user", "content": user_message})
|
74 |
|
75 |
response = openai.ChatCompletion.create(
|
76 |
+
model="gpt-4o",
|
77 |
messages=messages,
|
78 |
+
max_tokens=500,
|
79 |
temperature=0.2,
|
80 |
top_p=1,
|
81 |
frequency_penalty=0,
|