Add app to rag module: presentaion & laws (#43)

This commit is contained in:
KevinHuSh
2024-01-25 18:57:39 +08:00
committed by GitHub
parent e32ef75e99
commit 072f9dd5bc
7 changed files with 473 additions and 103 deletions

View File

@ -150,4 +150,4 @@ def filename_type(filename):
return FileType.AURAL.value
if re.match(r".*\.(jpg|jpeg|png|tif|gif|pcx|tga|exif|fpx|svg|psd|cdr|pcd|dxf|ufo|eps|ai|raw|WMF|webp|avif|apng|icon|ico|mpg|mpeg|avi|rm|rmvb|mov|wmv|asf|dat|asx|wvx|mpe|mpa|mp4)$", filename):
return FileType.VISUAL
return FileType.VISUAL