@huggingface/tasks
Advanced tools
Comparing version 0.12.25 to 0.12.26
{ | ||
"name": "@huggingface/tasks", | ||
"packageManager": "pnpm@8.10.5", | ||
"version": "0.12.25", | ||
"version": "0.12.26", | ||
"description": "List of ML tasks for huggingface.co/tasks", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/huggingface/huggingface.js.git", |
@@ -327,6 +327,6 @@ import type { PipelineType } from "../pipelines.js"; | ||
content: `import requests | ||
API_URL = "https://api-inference.huggingface.co/models/${model.id}" | ||
headers = {"Authorization": ${accessToken ? `"Bearer ${accessToken}"` : `f"Bearer {API_TOKEN}"`}} | ||
${snippet.content}`, | ||
@@ -333,0 +333,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1413167