From 194715920ecc2c347a819094bc66da3488ea9c71 Mon Sep 17 00:00:00 2001 From: bennykok Date: Mon, 29 Jan 2024 02:09:56 +0800 Subject: [PATCH] feat: add models redirect --- .../components/custom-form/model-picker.tsx | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/web/src/components/custom-form/model-picker.tsx b/web/src/components/custom-form/model-picker.tsx index 1620125..18acd96 100644 --- a/web/src/components/custom-form/model-picker.tsx +++ b/web/src/components/custom-form/model-picker.tsx @@ -22,6 +22,7 @@ import { ScrollArea } from "@/components/ui/scroll-area"; import { Textarea } from "@/components/ui/textarea"; import { CivitaiModelRegistry } from "./CivitaiModelRegistry"; import { ComfyUIManagerModelRegistry } from "./ComfyUIManagerModelRegistry"; +import { ExternalLink } from "lucide-react"; export default function AutoFormModelsPicker({ label, @@ -38,6 +39,7 @@ export default function AutoFormModelsPicker({ {isRequired && *} )} + }> @@ -46,6 +48,21 @@ export default function AutoFormModelsPicker({ {fieldConfigItem.description && ( {fieldConfigItem.description} )} + + {" "} +
+ Models are moving to{" "} + + + Storage + +
+
); @@ -58,12 +75,12 @@ function ModelPickerView({ - Models (ComfyUI Manager & Civitai) + Models (ComfyUI Manager)
- + {/* */} {/* {field.value.length} selected */} {field.value && (