chore: remove validate ext file

This commit is contained in:
Faisal Amir 2025-09-08 00:07:20 +07:00
parent 1b035fd2f1
commit 4141910ee2

View File

@ -42,12 +42,6 @@ export const ImportVisionModelDialog = ({
const selectedFile = await serviceHub.dialog().open({
multiple: false,
directory: false,
filters: [
{
name: type === 'model' ? 'GGUF Files' : 'MMPROJ Files',
extensions: type === 'model' ? ['gguf'] : ['gguf'],
},
],
})
if (selectedFile && typeof selectedFile === 'string') {