Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: remove validate ext file

Faisal Amir4141910ee200
diff --git a/web-app/src/containers/dialogs/ImportVisionModelDialog.tsx b/web-app/src/containers/dialogs/ImportVisionModelDialog.tsx
index c84c2fbab..82f1c5cd1 100644
--- a/web-app/src/containers/dialogs/ImportVisionModelDialog.tsx
+++ b/web-app/src/containers/dialogs/ImportVisionModelDialog.tsx
@@ -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') {