Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
micaelakaplan committed Feb 21, 2025
1 parent 2ac50db commit 3b2af6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion label_studio_ml/examples/gliner/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_predict(client):
expected_response = {"results": [{"model_version": "GLiNERModel-v0.0.1", "result": [
{"from_name": "label", "score": 0.922, "to_name": "text", "type": "labels",
"value": {"end": 11, "labels": ["Medication/Vaccine"], "start": 0, "text": "atomoxetine"}},
{"from_name": "label", "score": 0.8706, "to_name": "text", "type": "labels",
{"from_name": "label", "score": 0.7053, "to_name": "text", "type": "labels",
"value": {"end": 65, "labels": ["Medication/Vaccine"], "start": 32,
"text": "norepinephrine reuptake inhibitor"}}], "score": 0.7053}]}

Expand Down

0 comments on commit 3b2af6d

Please sign in to comment.