Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def create_newsletter(contents):
|
|
| 33 |
response = openai.chat.completions.create(
|
| 34 |
model="gpt-4o-mini",
|
| 35 |
messages=[
|
| 36 |
-
{"role": "system", "content": "You are a helpful assistant and en expert in making Newsletters for the Electric Vehicle Community AmpSphere."},
|
| 37 |
{"role": "user", "content": prompt}
|
| 38 |
]
|
| 39 |
)
|
|
|
|
| 33 |
response = openai.chat.completions.create(
|
| 34 |
model="gpt-4o-mini",
|
| 35 |
messages=[
|
| 36 |
+
{"role": "system", "content": "You are a helpful assistant and en expert in making Substack Newsletters for the Electric Vehicle Community AmpSphere."},
|
| 37 |
{"role": "user", "content": prompt}
|
| 38 |
]
|
| 39 |
)
|