Tonic commited on
Commit
7acdad2
1 Parent(s): 0443f2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def compute_embeddings(selected_task, input_text):
73
  return embeddings_list
74
 
75
  @spaces.GPU
76
- def compute_similarity(self, selected_task, sentence1, sentence2, extra_sentence1, extra_sentence2):
77
  try:
78
  task_description = tasks[selected_task]
79
  except KeyError:
 
73
  return embeddings_list
74
 
75
  @spaces.GPU
76
+ def compute_similarity(selected_task, sentence1, sentence2, extra_sentence1, extra_sentence2):
77
  try:
78
  task_description = tasks[selected_task]
79
  except KeyError: