From 2264ac81e047ae605c42035eb9e687029d251974 Mon Sep 17 00:00:00 2001 From: Mishig Date: Fri, 20 Sep 2024 12:43:59 +0200 Subject: [PATCH] [Fix] type ModelData.instance_prompt (#916) Follow up to https://github.com/huggingface/huggingface.js/pull/909 --- packages/tasks/src/model-data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tasks/src/model-data.ts b/packages/tasks/src/model-data.ts index 728453335..12c8137d9 100644 --- a/packages/tasks/src/model-data.ts +++ b/packages/tasks/src/model-data.ts @@ -107,7 +107,7 @@ export interface ModelData { parameters?: Record; }; base_model?: string | string[]; - instance_prompt?: string; + instance_prompt?: string | null; }; /** * Library name