Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def create_newsletter(contents):
|
|
| 31 |
prompt += f"Title: {title}\nURL: {url}\n\n{body}\n\n"
|
| 32 |
|
| 33 |
response = openai.chat.completions.create(
|
| 34 |
-
model="gpt-
|
| 35 |
messages=[
|
| 36 |
{"role": "system", "content": "You are a helpful assistant."},
|
| 37 |
{"role": "user", "content": prompt}
|
|
|
|
| 31 |
prompt += f"Title: {title}\nURL: {url}\n\n{body}\n\n"
|
| 32 |
|
| 33 |
response = openai.chat.completions.create(
|
| 34 |
+
model="gpt-4o-mini",
|
| 35 |
messages=[
|
| 36 |
{"role": "system", "content": "You are a helpful assistant."},
|
| 37 |
{"role": "user", "content": prompt}
|