mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
Added missing file extensions
Signed-off-by: JeevaRamanathan M <jeevaramanathan.m@infosys.com>
This commit is contained in:
@@ -340,6 +340,7 @@ class UploadFile(Resource):
|
|||||||
".epub",
|
".epub",
|
||||||
".html",
|
".html",
|
||||||
".mdx",
|
".mdx",
|
||||||
|
".xlsx",
|
||||||
],
|
],
|
||||||
job_name,
|
job_name,
|
||||||
final_filename,
|
final_filename,
|
||||||
|
|||||||
@@ -86,7 +86,7 @@
|
|||||||
"start": "Start Chatting",
|
"start": "Start Chatting",
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"choose": "Choose Files",
|
"choose": "Choose Files",
|
||||||
"info": "Please upload .pdf, .txt, .rst, .csv, .xlsx, .docx, .md, .zip limited to 25mb",
|
"info": "Please upload .pdf, .txt, .rst, .csv, .xlsx, .docx, .md, .html, .epub, .zip limited to 25mb",
|
||||||
"uploadedFiles": "Uploaded Files",
|
"uploadedFiles": "Uploaded Files",
|
||||||
"cancel": "Cancel",
|
"cancel": "Cancel",
|
||||||
"train": "Train",
|
"train": "Train",
|
||||||
|
|||||||
@@ -86,7 +86,7 @@
|
|||||||
"start": "Empezar a chatear",
|
"start": "Empezar a chatear",
|
||||||
"name": "Nombre",
|
"name": "Nombre",
|
||||||
"choose": "Seleccionar Archivos",
|
"choose": "Seleccionar Archivos",
|
||||||
"info": "Por favor, suba archivos .pdf, .txt, .rst, .docx, .md, .zip limitados a 25 MB",
|
"info": "Por favor, suba archivos .pdf, .txt, .rst, .csv, .xlsx, .docx, .md, .html, .epub, .zip limitados a 25 MB",
|
||||||
"uploadedFiles": "Archivos Subidos",
|
"uploadedFiles": "Archivos Subidos",
|
||||||
"cancel": "Cancelar",
|
"cancel": "Cancelar",
|
||||||
"train": "Entrenar",
|
"train": "Entrenar",
|
||||||
|
|||||||
@@ -86,7 +86,7 @@
|
|||||||
"start": "开始聊天",
|
"start": "开始聊天",
|
||||||
"name": "名称",
|
"name": "名称",
|
||||||
"choose": "选择文件",
|
"choose": "选择文件",
|
||||||
"info": "请上传 .pdf, .txt, .rst, .docx, .md, .zip 文件,限 25MB",
|
"info": "请上传 .pdf, .txt, .rst, .csv, .xlsx, .docx, .md, .html, .epub, .zip 文件,限 25MB",
|
||||||
"uploadedFiles": "已上传文件",
|
"uploadedFiles": "已上传文件",
|
||||||
"cancel": "取消",
|
"cancel": "取消",
|
||||||
"train": "训练",
|
"train": "训练",
|
||||||
|
|||||||
@@ -315,6 +315,8 @@ function Upload({
|
|||||||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document':
|
'application/vnd.openxmlformats-officedocument.wordprocessingml.document':
|
||||||
['.docx'],
|
['.docx'],
|
||||||
'text/csv': ['.csv'],
|
'text/csv': ['.csv'],
|
||||||
|
'text/html': ['.html'],
|
||||||
|
'application/epub+zip': ['.epub'],
|
||||||
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': [
|
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': [
|
||||||
'.xlsx',
|
'.xlsx',
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user