Skip to content

Commit d413f11

Browse files
author
Dinesh Sajwan
committed
feat(visaulqa): added svg support
1 parent 1396385 commit d413f11

File tree

1 file changed

+1
-1
lines changed
  • lambda/aws-rag-appsync-stepfn-opensearch/s3_file_transformer/src

1 file changed

+1
-1
lines changed

lambda/aws-rag-appsync-stepfn-opensearch/s3_file_transformer/src/lambda.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def handler(event, context: LambdaContext) -> dict:
8787
response['name'] = output_file_name
8888
if(extension == '.pdf'):
8989
response['status'] = transform_pdf_document(input_bucket,file_name,output_file_name)
90-
elif(extension == '.jpg'or extension == '.jpeg' or extension == '.png'):
90+
elif(extension == '.jpg'or extension == '.jpeg' or extension == '.png' or extension == '.svg'):
9191
response['status'] = transform_image_document(input_bucket,file_name,output_bucket)
9292
#TODO add csv, doc, docx file type suport as well.
9393
else:

0 commit comments

Comments
 (0)