basillicus commited on
Commit
ea3763b
·
verified ·
1 Parent(s): 60b9791

Print summary as bulletpoints

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def brief_text_in_n_sentences(text:str, n:int)-> str: #it's import to specify th
31
  return "No text provided to summarize."
32
 
33
  prompt = (
34
- f"Please summarize the following text in exactly {n} sentence{'s' if n > 1 else ''}:\n\n{text}\n\n"
35
  "Summary:"
36
  )
37
 
 
31
  return "No text provided to summarize."
32
 
33
  prompt = (
34
+ f"Please summarize the following text in exactly {n} sentence{'s' if n > 1 else ''}. Each sentence is a bullet point. The text is:\n\n{text}\n\n"
35
  "Summary:"
36
  )
37