@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
- * A float that represents how likely it is that the image file belongs to this class.
170
+ * The label for the class (model specific)
171
171
  */
172
172
  label: string;
173
173
  /**
174
- * The label for the class (model specific)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huggingface/inference",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "packageManager": "pnpm@8.3.1",
5
5
  "license": "MIT",
6
6
  "author": "Tim Mikeladze <tim.mikeladze@gmail.com>",
@@ -11,11 +11,11 @@ export type ImageClassificationArgs = BaseArgs & {
11
11
 
12
12
  export interface ImageClassificationOutputValue {
13
13
  /**
14
- * A float that represents how likely it is that the image file belongs to this class.
14
+ * The label for the class (model specific)
15
15
  */
16
16
  label: string;
17
17
  /**
18
- * The label for the class (model specific)
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
  }