Skip to content

Commit 3b2af6d

Browse files
committed
fix tests
1 parent 2ac50db commit 3b2af6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

label_studio_ml/examples/gliner/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def test_predict(client):
5858
expected_response = {"results": [{"model_version": "GLiNERModel-v0.0.1", "result": [
5959
{"from_name": "label", "score": 0.922, "to_name": "text", "type": "labels",
6060
"value": {"end": 11, "labels": ["Medication/Vaccine"], "start": 0, "text": "atomoxetine"}},
61-
{"from_name": "label", "score": 0.8706, "to_name": "text", "type": "labels",
61+
{"from_name": "label", "score": 0.7053, "to_name": "text", "type": "labels",
6262
"value": {"end": 65, "labels": ["Medication/Vaccine"], "start": 32,
6363
"text": "norepinephrine reuptake inhibitor"}}], "score": 0.7053}]}
6464

0 commit comments

Comments
 (0)