varun500 commited on
Commit
9b048cd
·
1 Parent(s): fb19adb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def main():
27
 
28
  # Load the pre-trained Sentence-Transformers model
29
  model = SentenceTransformer("sentence-transformers/all-mpnet-base-v2")
30
-
31
  # Generate word embeddings for the financial sentence and keywords
32
  sentence_embedding = model.encode([financial_sentence])
33
  keyword_embeddings = model.encode(keywords)
 
27
 
28
  # Load the pre-trained Sentence-Transformers model
29
  model = SentenceTransformer("sentence-transformers/all-mpnet-base-v2")
30
+ st.set_option('deprecation.showPyplotGlobalUse', False)
31
  # Generate word embeddings for the financial sentence and keywords
32
  sentence_embedding = model.encode([financial_sentence])
33
  keyword_embeddings = model.encode(keywords)