From 97c69a90c6fb59767b7944cb1ad9f0edf3904631 Mon Sep 17 00:00:00 2001 From: Wauplin <11801849+Wauplin@users.noreply.github.com> Date: Thu, 1 May 2025 03:28:28 +0000 Subject: [PATCH] Update Inference Providers documentation (automated) --- .../tasks/audio-classification.md | 4 ++++ scripts/inference-providers/package.json | 2 +- scripts/inference-providers/pnpm-lock.yaml | 12 ++++++------ 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/inference-providers/tasks/audio-classification.md b/docs/inference-providers/tasks/audio-classification.md index 5ca5c72b1..ff2190015 100644 --- a/docs/inference-providers/tasks/audio-classification.md +++ b/docs/inference-providers/tasks/audio-classification.md @@ -50,6 +50,10 @@ No snippet available for this task. | Payload | | | | :--- | :--- | :--- | +| **inputs*** | _string_ | The input audio data as a base64-encoded string. If no `parameters` are provided, you can also provide the audio data as a raw bytes payload. | +| **parameters** | _object_ | | +| **        function_to_apply** | _enum_ | Possible values: sigmoid, softmax, none. | +| **        top_k** | _integer_ | When specified, limits the output to the top K most probable classes. | #### Response diff --git a/scripts/inference-providers/package.json b/scripts/inference-providers/package.json index d85c77d93..c89dafd2a 100644 --- a/scripts/inference-providers/package.json +++ b/scripts/inference-providers/package.json @@ -15,7 +15,7 @@ "license": "ISC", "dependencies": { "@huggingface/inference": "^3.10.0", - "@huggingface/tasks": "^0.19.0", + "@huggingface/tasks": "^0.19.1", "@types/node": "^22.5.0", "handlebars": "^4.7.8", "node": "^20.17.0", diff --git a/scripts/inference-providers/pnpm-lock.yaml b/scripts/inference-providers/pnpm-lock.yaml index 1be6ae321..7f21b7e65 100644 --- a/scripts/inference-providers/pnpm-lock.yaml +++ b/scripts/inference-providers/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^3.10.0 version: 3.10.0 '@huggingface/tasks': - specifier: ^0.19.0 - version: 0.19.0 + specifier: ^0.19.1 + version: 0.19.1 '@types/node': specifier: ^22.5.0 version: 22.5.0 @@ -197,8 +197,8 @@ packages: resolution: {integrity: sha512-NHN8rwJDaGVnpnNLv/4Aaqc/CuBDmN/pa6lrZOsFG7Zgm/5MEmrab+hzF2s46UMMoJcO2SMZ2amSxJXp0s8Ncw==} engines: {node: '>=18'} - '@huggingface/tasks@0.19.0': - resolution: {integrity: sha512-OQiHR8iq2zD5upKTDNsBVCYzkgNmmL3ajQtFBs7VgtmZDiFk2BHvYmOwKgxgrXnDSgFXNsSf9BtA/kawbwXq+w==} + '@huggingface/tasks@0.19.1': + resolution: {integrity: sha512-cocq5+jkmh8+qIvWDCyC9nkf7qCpmBRrJL/WPWhfIMXWEv2dMYMY62ylFv+dq/vRwpe+/5h0WlnZGOSIa+3OJg==} '@jridgewell/resolve-uri@3.1.2': resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} @@ -418,11 +418,11 @@ snapshots: '@huggingface/inference@3.10.0': dependencies: '@huggingface/jinja': 0.4.0 - '@huggingface/tasks': 0.19.0 + '@huggingface/tasks': 0.19.1 '@huggingface/jinja@0.4.0': {} - '@huggingface/tasks@0.19.0': {} + '@huggingface/tasks@0.19.1': {} '@jridgewell/resolve-uri@3.1.2': {}