Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ openai.api_key = st.secrets["OPENAI_API_KEY"]
|
|
| 11 |
def call_openai_api(prompt):
|
| 12 |
try:
|
| 13 |
response = openai.ChatCompletion.create(
|
| 14 |
-
model="gpt-
|
| 15 |
messages=[
|
| 16 |
{
|
| 17 |
"role": "system",
|
|
|
|
| 11 |
def call_openai_api(prompt):
|
| 12 |
try:
|
| 13 |
response = openai.ChatCompletion.create(
|
| 14 |
+
model="gpt-4o",
|
| 15 |
messages=[
|
| 16 |
{
|
| 17 |
"role": "system",
|