Spaces:
Sleeping
Sleeping
Narchethan
commited on
Commit
·
0fb5f15
1
Parent(s):
edc5148
update
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def openai_chat(api_key, system_prompt, user_prompt, temperature, max_tokens, to
|
|
8 |
|
9 |
# Generate the completion
|
10 |
response = openai.ChatCompletion.create(
|
11 |
-
model="
|
12 |
messages=[
|
13 |
{"role": "system", "content": system_prompt},
|
14 |
{"role": "user", "content": user_prompt},
|
|
|
8 |
|
9 |
# Generate the completion
|
10 |
response = openai.ChatCompletion.create(
|
11 |
+
model="GPT-4o",
|
12 |
messages=[
|
13 |
{"role": "system", "content": system_prompt},
|
14 |
{"role": "user", "content": user_prompt},
|