pratikshahp commited on
Commit
23e9209
·
verified ·
1 Parent(s): 1004abc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def fetch_and_summarize_news(arg: str = None) -> str:
34
  sanitized_articles.append(f"Title: {title}\nDescription: {description}")
35
 
36
  news_text = "\n\n".join(sanitized_articles)
37
- prompt = f"Summarize the following news articles:\n\n{news_text}. Please do not write the title. The summary should be in one sentence for each news."
38
 
39
  # Generate the summary
40
  summary = llm(prompt)
 
34
  sanitized_articles.append(f"Title: {title}\nDescription: {description}")
35
 
36
  news_text = "\n\n".join(sanitized_articles)
37
+ prompt = f"Summarize the following news articles:\n\n{news_text}. Please do not write the title. The summary should be in point for each news."
38
 
39
  # Generate the summary
40
  summary = llm(prompt)