diff --git a/src/lib/components/workspace/Models.svelte b/src/lib/components/workspace/Models.svelte index 963ab7083..3bc96b541 100644 --- a/src/lib/components/workspace/Models.svelte +++ b/src/lib/components/workspace/Models.svelte @@ -20,6 +20,8 @@ let importFiles; let modelsImportInputElement: HTMLInputElement; + let searchValue = ''; + const deleteModelHandler = async (model) => { console.log(model.info); if (!model?.info) { @@ -97,6 +99,49 @@
{$i18n.t('Models')}
+
+
+
+ + + +
+ +
+ +
+ + + + + +
+
+
+
- {#each $models as model} + {#each $models.filter((m) => searchValue === '' || m.name + .toLowerCase() + .includes(searchValue.toLowerCase())) as model}