Shreyas94 commited on
Commit
a9bb295
1 Parent(s): 92ccec4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -151,7 +151,7 @@ def calculate_title_similarity(news_list, company_name, company_ticker):
151
  similar_news = []
152
  for news in news_list:
153
  similarity_score = calculate_similarity(company_name, company_ticker, news['title'])
154
- if similarity_score > 0.9:
155
  similar_news.append(news)
156
  return similar_news
157
 
 
151
  similar_news = []
152
  for news in news_list:
153
  similarity_score = calculate_similarity(company_name, company_ticker, news['title'])
154
+ if similarity_score > 0.7:
155
  similar_news.append(news)
156
  return similar_news
157