Shreyas094 commited on
Commit
8650279
1 Parent(s): 6a8b63b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -241,7 +241,7 @@ def summarize_content(content, model):
241
  return "No content available to summarize."
242
 
243
  summary_prompt = f"""
244
- Summarize the following news article in 10-15 lines. Focus on the key points, main events, and significant details. Ensure the summary is informative and relevant to current news:
245
 
246
  {content[:3000]} # Limit input to avoid token limits
247
 
 
241
  return "No content available to summarize."
242
 
243
  summary_prompt = f"""
244
+ You are a financial analyst and given a task to summarize the following news article in concise and coherent brief paragraph. Focus on the key points, main events, significant details and any point that could have major implications. Ensure the summary is informative and relevant to current news:
245
 
246
  {content[:3000]} # Limit input to avoid token limits
247