Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ def generate_story(comments, temperature=0.7):
|
|
83 |
openai.api_key = OPENAI_API_KEY
|
84 |
client = openai
|
85 |
completion = client.chat.completions.create(
|
86 |
-
model="gpt-
|
87 |
messages=[{"role": "system", "content": f"""
|
88 |
|
89 |
Read all the comments, understand the emotions people are feeling and pick the third most common emotion
|
|
|
83 |
openai.api_key = OPENAI_API_KEY
|
84 |
client = openai
|
85 |
completion = client.chat.completions.create(
|
86 |
+
model="gpt-4o",
|
87 |
messages=[{"role": "system", "content": f"""
|
88 |
|
89 |
Read all the comments, understand the emotions people are feeling and pick the third most common emotion
|