@huggingface/inference 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts
CHANGED
|
@@ -167,11 +167,11 @@ export type ImageClassificationArgs = BaseArgs & {
|
|
|
167
167
|
export type ImageClassificationOutput = ImageClassificationOutputValue[];
|
|
168
168
|
export interface ImageClassificationOutputValue {
|
|
169
169
|
/**
|
|
170
|
-
*
|
|
170
|
+
* The label for the class (model specific)
|
|
171
171
|
*/
|
|
172
172
|
label: string;
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
174
|
+
* A float that represents how likely it is that the image file belongs to this class.
|
|
175
175
|
*/
|
|
176
176
|
score: number;
|
|
177
177
|
}
|
package/package.json
CHANGED
|
@@ -11,11 +11,11 @@ export type ImageClassificationArgs = BaseArgs & {
|
|
|
11
11
|
|
|
12
12
|
export interface ImageClassificationOutputValue {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The label for the class (model specific)
|
|
15
15
|
*/
|
|
16
16
|
label: string;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* A float that represents how likely it is that the image file belongs to this class.
|
|
19
19
|
*/
|
|
20
20
|
score: number;
|
|
21
21
|
}
|