Spaces:
Build error
Build error
Commit
·
abad191
1
Parent(s):
ed916d4
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def predict_label(text):
|
|
21 |
ensemble_span_scores = [score for scores in [span_scores, msa_span_scores] for score in scores]
|
22 |
ensemble_pooled_scores = pool_span_scores(ensemble_span_scores, ip_len)
|
23 |
|
24 |
-
ent_scores = extract_ent_scores(entity_model,ip,ensemble_pooled_scores
|
25 |
combined_sequences, ent_pred_tags = pool_ent_scores(ent_scores, ip_len)
|
26 |
|
27 |
return combined_sequences
|
|
|
21 |
ensemble_span_scores = [score for scores in [span_scores, msa_span_scores] for score in scores]
|
22 |
ensemble_pooled_scores = pool_span_scores(ensemble_span_scores, ip_len)
|
23 |
|
24 |
+
ent_scores = extract_ent_scores(entity_model,ip,ensemble_pooled_scores)
|
25 |
combined_sequences, ent_pred_tags = pool_ent_scores(ent_scores, ip_len)
|
26 |
|
27 |
return combined_sequences
|