diff --git a/core/src/browser/core.ts b/core/src/browser/core.ts index 77d65afeba..fdbceb06bb 100644 --- a/core/src/browser/core.ts +++ b/core/src/browser/core.ts @@ -29,7 +29,7 @@ const downloadFile: (downloadRequest: DownloadRequest, network?: NetworkConfig) ) => globalThis.core?.api?.downloadFile(downloadRequest, network) /** - * Get file size from browser processes. + * Get unit in bytes for a remote file. * * @param url - The url of the file. * @returns {Promise} - A promise that resolves with the file size. diff --git a/extensions/model-extension/bin/mac-arm64/quantize b/extensions/model-extension/bin/mac-arm64/quantize deleted file mode 100755 index f8a149b108..0000000000 Binary files a/extensions/model-extension/bin/mac-arm64/quantize and /dev/null differ diff --git a/web/screens/ExploreModels/index.tsx b/web/screens/ExploreModels/index.tsx index 4fad9ce5c1..47230f3037 100644 --- a/web/screens/ExploreModels/index.tsx +++ b/web/screens/ExploreModels/index.tsx @@ -23,6 +23,7 @@ import { configuredModelsAtom, downloadedModelsAtom, } from '@/helpers/atoms/Model.atom' +import ModelSearch from '../Settings/Models/ModelSearch' const sortMenu = ['All Models', 'Recommended', 'Downloaded'] @@ -54,6 +55,10 @@ const ExploreModelsScreen = () => { setImportModelStage('SELECTING_MODEL') }, [setImportModelStage]) + const onSearchUpdate = useCallback((input: string) => { + setsearchValue(input) + }, []) + return (
{ />
-
- - setsearchValue(e.target.value)} - /> -
+