pratikshahp commited on
Commit
a10ab9a
·
verified ·
1 Parent(s): 80f3970

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def generate_summary(text, model="gpt-4o-mini"):
17
  response = client.chat.completions.create(
18
  model=model,
19
  messages=[
20
- {"role": "system", "content": "You are a helpful assistant. Please summarize the following content."},
21
  {"role": "user", "content": text}
22
  ]
23
  )
 
17
  response = client.chat.completions.create(
18
  model=model,
19
  messages=[
20
+ {"role": "system", "content": "You are a helpful assistant. Please summarize the following content in 30 words ."},
21
  {"role": "user", "content": text}
22
  ]
23
  )