Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def generate_response(user_input, relevant_context="", max_tokens=150, temperatu
|
|
37 |
combined_input = f"Question: {user_input}\nAnswer:"
|
38 |
|
39 |
response = client.chat.completions.create(
|
40 |
-
model="gpt-
|
41 |
messages=[
|
42 |
{"role": "system", "content": system_message},
|
43 |
{"role": "user", "content": combined_input}
|
|
|
37 |
combined_input = f"Question: {user_input}\nAnswer:"
|
38 |
|
39 |
response = client.chat.completions.create(
|
40 |
+
model="gpt-4-turbo",
|
41 |
messages=[
|
42 |
{"role": "system", "content": system_message},
|
43 |
{"role": "user", "content": combined_input}
|