@huggingface/tasks
Advanced tools
Comparing version 0.15.0 to 0.15.1
@@ -502,3 +502,3 @@ "use strict"; | ||
// Then, add remaining tasks | ||
for (const task in tasks) { | ||
for (const task of tasks) { | ||
if (!Object.keys(_keras_hub_tasks_with_example).includes(task)) { | ||
@@ -505,0 +505,0 @@ snippets.push(_keras_hub_task_without_example(task, modelId)); |
@@ -475,3 +475,3 @@ import { LIBRARY_TASK_MAPPING } from "./library-to-tasks.js"; | ||
// Then, add remaining tasks | ||
for (const task in tasks) { | ||
for (const task of tasks) { | ||
if (!Object.keys(_keras_hub_tasks_with_example).includes(task)) { | ||
@@ -478,0 +478,0 @@ snippets.push(_keras_hub_task_without_example(task, modelId)); |
{ | ||
"name": "@huggingface/tasks", | ||
"packageManager": "pnpm@8.10.5", | ||
"version": "0.15.0", | ||
"version": "0.15.1", | ||
"description": "List of ML tasks for huggingface.co/tasks", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/huggingface/huggingface.js.git", |
@@ -529,3 +529,3 @@ import type { ModelData } from "./model-data.js"; | ||
// Then, add remaining tasks | ||
for (const task in tasks) { | ||
for (const task of tasks) { | ||
if (!Object.keys(_keras_hub_tasks_with_example).includes(task)) { | ||
@@ -532,0 +532,0 @@ snippets.push(_keras_hub_task_without_example(task, modelId)); |