innocent-charles commited on
Commit
46097de
1 Parent(s): 3130d5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def predict(model_name_display, original_sentence_input, sentence_1=None, senten
28
  if not original_sentence_input:
29
  return "Please provide the original sentence.", {}
30
 
31
- sentences = [original_sentence_input, sentence_1, sentence_2, sentence_3]
32
  embeddings = model.encode(sentences)
33
  similarities = util.cos_sim(embeddings[0], embeddings[1:])
34
  similarity_scores = {
 
28
  if not original_sentence_input:
29
  return "Please provide the original sentence.", {}
30
 
31
+ sentences = [original_sentence_input, sentence_1, sentence_2, sentence_3,sentence_4,sentence_5]
32
  embeddings = model.encode(sentences)
33
  similarities = util.cos_sim(embeddings[0], embeddings[1:])
34
  similarity_scores = {