Skip to content

Commit a091928

Browse files
Amend spec for visual question answering (#978)
1 parent 065f7f2 commit a091928

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/tasks/src/tasks/visual-question-answering/inference.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export interface VisualQuestionAnsweringOutputElement {
5454
* The answer to the question
5555
*/
5656
answer?: string;
57-
label: unknown;
5857
/**
5958
* The associated score / probability
6059
*/

packages/tasks/src/tasks/visual-question-answering/spec/output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"description": "The associated score / probability"
1717
}
1818
},
19-
"required": ["label", "score"]
19+
"required": ["score"]
2020
}
2121
}

0 commit comments

Comments
 (0)