From 7382ce48bbcf80ab75ce7c73ef3c1c46aa2c1665 Mon Sep 17 00:00:00 2001 From: Hk-Gosuto Date: Sun, 7 Apr 2024 10:47:08 +0800 Subject: [PATCH] chore: modify supported upload types --- app/components/chat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 0f42cc7e0..4c63393f8 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -1363,7 +1363,7 @@ function _Chat() { ...(await new Promise((res, rej) => { const fileInput = document.createElement("input"); fileInput.type = "file"; - fileInput.accept = ".pdf,.txt,.json,.csv,.md"; + fileInput.accept = ".pdf,.txt,.md,.json,.csv,.docx,.srt,.mp3"; fileInput.multiple = true; fileInput.onchange = (event: any) => { setUploading(true);