From 720671241ef45821949da8404003a20938fe79ef Mon Sep 17 00:00:00 2001 From: harini-venkataraman Date: Tue, 16 Jul 2024 15:18:21 +0530 Subject: [PATCH 1/2] Supporting tif and PDF extentions --- backend/workflow_manager/endpoint/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/workflow_manager/endpoint/constants.py b/backend/workflow_manager/endpoint/constants.py index d9553245d..7c9f174d9 100644 --- a/backend/workflow_manager/endpoint/constants.py +++ b/backend/workflow_manager/endpoint/constants.py @@ -70,9 +70,9 @@ class FileType: class FilePattern: - PDF_DOCUMENTS = ["*.pdf"] + PDF_DOCUMENTS = ["*.pdf", "*.PDF"] TEXT_DOCUMENTS = ["*.txt"] - IMAGES = ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.bmp"] + IMAGES = ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.bmp", "*.tif"] class SourceConstant: From 28686a5a5669d2c64195fbb6d80fcbd07b78d4dd Mon Sep 17 00:00:00 2001 From: harini-venkataraman Date: Tue, 16 Jul 2024 15:37:40 +0530 Subject: [PATCH 2/2] Supporting tif and PDF extentions --- backend/workflow_manager/endpoint/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/workflow_manager/endpoint/constants.py b/backend/workflow_manager/endpoint/constants.py index 7c9f174d9..ca84b5d15 100644 --- a/backend/workflow_manager/endpoint/constants.py +++ b/backend/workflow_manager/endpoint/constants.py @@ -72,7 +72,7 @@ class FileType: class FilePattern: PDF_DOCUMENTS = ["*.pdf", "*.PDF"] TEXT_DOCUMENTS = ["*.txt"] - IMAGES = ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.bmp", "*.tif"] + IMAGES = ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.bmp", "*.tif", "*.tiff"] class SourceConstant: