Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def summarize_content(content):
|
|
26 |
prompt = f"Summarize the following news article in about 60 words:\n\n{content}\n\n"
|
27 |
|
28 |
response = openai.chat.completions.create(
|
29 |
-
model="gpt-
|
30 |
messages=[
|
31 |
{"role": "system", "content": "You are a helpful assistant that summarizes news articles in about 60 words."},
|
32 |
{"role": "user", "content": prompt}
|
|
|
26 |
prompt = f"Summarize the following news article in about 60 words:\n\n{content}\n\n"
|
27 |
|
28 |
response = openai.chat.completions.create(
|
29 |
+
model="gpt-4o-mini",
|
30 |
messages=[
|
31 |
{"role": "system", "content": "You are a helpful assistant that summarizes news articles in about 60 words."},
|
32 |
{"role": "user", "content": prompt}
|