From e27d99e2dfab275040f0fda24aa15ceb2295abbd Mon Sep 17 00:00:00 2001 From: shandamengcheng Date: Sat, 14 Jan 2023 23:01:25 +0800 Subject: [PATCH] fix: show hugging face in generator modal --- .../page/App/components/Actions/ActionGenerator/config.ts | 8 ++++---- .../page/Dashboard/components/ResourceGenerator/config.ts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/builder/src/page/App/components/Actions/ActionGenerator/config.ts b/apps/builder/src/page/App/components/Actions/ActionGenerator/config.ts index 135f2d66d5..776387c7dd 100644 --- a/apps/builder/src/page/App/components/Actions/ActionGenerator/config.ts +++ b/apps/builder/src/page/App/components/Actions/ActionGenerator/config.ts @@ -66,10 +66,10 @@ export const Apis: ActionDataItem[] = [ actionType: "smtp", isDraft: false, }, - // { - // actionType: "huggingface", - // isDraft: false, - // }, + { + actionType: "huggingface", + isDraft: false, + }, ] export const JsTransformer: ActionDataItem[] = [ diff --git a/apps/builder/src/page/Dashboard/components/ResourceGenerator/config.ts b/apps/builder/src/page/Dashboard/components/ResourceGenerator/config.ts index be25ab33e5..fe5d1c2f65 100644 --- a/apps/builder/src/page/Dashboard/components/ResourceGenerator/config.ts +++ b/apps/builder/src/page/Dashboard/components/ResourceGenerator/config.ts @@ -66,10 +66,10 @@ export const Apis: ResourceDataItem[] = [ resourceType: "smtp", isDraft: false, }, - // { - // resourceType: "huggingface", - // isDraft: false, - // }, + { + resourceType: "huggingface", + isDraft: false, + }, ] export const ResourceTypeList = [