Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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:
|