anupam210 commited on
Commit
627401a
1 Parent(s): 4a624cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,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)