Merge pull request #487 from langflow-ai/folder-upload-types
folder upload file extensions
This commit is contained in:
commit
bf692c2bbe
1 changed files with 16 additions and 0 deletions
|
|
@ -251,10 +251,26 @@ export function KnowledgeDropdown() {
|
||||||
".pdf",
|
".pdf",
|
||||||
".doc",
|
".doc",
|
||||||
".docx",
|
".docx",
|
||||||
|
".pptx",
|
||||||
|
".ppt",
|
||||||
|
".xlsx",
|
||||||
|
".xls",
|
||||||
|
".csv",
|
||||||
".txt",
|
".txt",
|
||||||
".md",
|
".md",
|
||||||
|
".html",
|
||||||
|
".htm",
|
||||||
".rtf",
|
".rtf",
|
||||||
".odt",
|
".odt",
|
||||||
|
".asciidoc",
|
||||||
|
".adoc",
|
||||||
|
".png",
|
||||||
|
".jpg",
|
||||||
|
".jpeg",
|
||||||
|
".gif",
|
||||||
|
".bmp",
|
||||||
|
".tiff",
|
||||||
|
".webp",
|
||||||
];
|
];
|
||||||
|
|
||||||
const filteredFiles = fileList.filter((file) => {
|
const filteredFiles = fileList.filter((file) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue