Update constants.ts

include new upload types in front end
This commit is contained in:
Marclass 2024-01-17 16:28:52 -07:00
parent 8dacc86ab0
commit 9b63788135

View file

@ -13,10 +13,14 @@ export const REQUIRED_OLLAMA_VERSION = '0.1.16';
export const SUPPORTED_FILE_TYPE = [
'application/pdf',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'text/markdown',
'text/plain',
'text/csv'
'text/csv',
'text/xml',
'text/x-python',
'text/css',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'application/octet-stream',
'application/x-javascript',
];
// Source: https://kit.svelte.dev/docs/modules#$env-static-public