Shreyas094
commited on
Commit
•
8650279
1
Parent(s):
6a8b63b
Update app.py
Browse files
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 |
-
|
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 |
|