dindizz commited on
Commit
aecbd98
·
verified ·
1 Parent(s): f0615b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-3.5-turbo",
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}