Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def classify_class(incident_description):
|
|
64 |
classification = response.choices[0].text.strip()
|
65 |
return classification
|
66 |
|
67 |
-
def text_similarity(pdftext1,
|
68 |
sentences =["pdftext1","pdftext2"]
|
69 |
model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
|
70 |
embeddings = model.encode(sentences)
|
|
|
64 |
classification = response.choices[0].text.strip()
|
65 |
return classification
|
66 |
|
67 |
+
def text_similarity(pdftext1,pdftext12):
|
68 |
sentences =["pdftext1","pdftext2"]
|
69 |
model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
|
70 |
embeddings = model.encode(sentences)
|