lalithadevi
commited on
Update find_similar_news.py
Browse files- find_similar_news.py +1 -0
find_similar_news.py
CHANGED
@@ -37,6 +37,7 @@ class TextVectorizer:
|
|
37 |
logger.warning('Exiting vectorize_()')
|
38 |
except Exception as e:
|
39 |
logger.warning(f"vectorize() error: {e}")
|
|
|
40 |
|
41 |
return sent_embeddings
|
42 |
|
|
|
37 |
logger.warning('Exiting vectorize_()')
|
38 |
except Exception as e:
|
39 |
logger.warning(f"vectorize() error: {e}")
|
40 |
+
raise
|
41 |
|
42 |
return sent_embeddings
|
43 |
|