Update app.py
Browse files240 unmodified lines241242243244245246247240 unmodified linesreturn "No content available to summarize."summary_prompt = f"""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:{content[:3000]} # Limit input to avoid token limits240 unmodified lines241242243244245246247240 unmodified linesreturn "No content available to summarize."summary_prompt = f"""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:{content[:3000]} # Limit input to avoid token limits
app.py+1-1