Spaces:
Runtime error
Runtime error
EmicoBinsfinder
commited on
Commit
•
a00f952
1
Parent(s):
f27c318
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,6 @@ def broad_scope_class_predictor(class_embeddings, abstract_embedding, N=5, Sensi
|
|
37 |
score = cos(abstract_embedding, embedding).numpy().tolist()
|
38 |
result = [class_name, score[0]]
|
39 |
predictions.loc[len(predictions)] = result
|
40 |
-
greenpredictions = predictions.tail(52)
|
41 |
if Sensitivity == 'High':
|
42 |
Threshold = 0.5
|
43 |
elif Sensitivity == 'Medium':
|
|
|
37 |
score = cos(abstract_embedding, embedding).numpy().tolist()
|
38 |
result = [class_name, score[0]]
|
39 |
predictions.loc[len(predictions)] = result
|
|
|
40 |
if Sensitivity == 'High':
|
41 |
Threshold = 0.5
|
42 |
elif Sensitivity == 'Medium':
|