We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6726d0 commit de9a2bdCopy full SHA for de9a2bd
packages/tasks/src/model-libraries-snippets.ts
@@ -526,7 +526,7 @@ export const keras_hub = (model: ModelData): string[] => {
526
}
527
528
// Then, add remaining tasks
529
- for (const task in tasks) {
+ for (const task of tasks) {
530
if (!Object.keys(_keras_hub_tasks_with_example).includes(task)) {
531
snippets.push(_keras_hub_task_without_example(task, modelId));
532
0 commit comments