ziyadbastaili commited on
Commit
399c0dd
·
1 Parent(s): a5f958f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ from sentence_transformers import SentenceTransformer, util
3
 
4
  model = None
5
  def semantic(company_1, company_2):
 
6
  # Single list of sentences
7
  sentences = [company_1, company_2]
8
  if model is None:
 
3
 
4
  model = None
5
  def semantic(company_1, company_2):
6
+ global model
7
  # Single list of sentences
8
  sentences = [company_1, company_2]
9
  if model is None: