Update app.py
Browse files
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.
|
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 |
|