Spaces:
Runtime error
Runtime error
Commit
·
399c0dd
1
Parent(s):
a5f958f
Update app.py
Browse files
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:
|