update feature ocr

This commit is contained in:
otxtan@gmail.com
2024-05-22 14:17:12 +07:00
parent fcd079b2fe
commit 572506720f
15 changed files with 149 additions and 84 deletions

5
.env
View File

@@ -10,8 +10,7 @@ PAPERLESS_DBNAME=tc_edoc
PAPERLESS_DBUSER=tc_edoc
PAPERLESS_DBPASS=27M2MV58Re2Y
PAPERLESS_DBSSLMODE=prefer
OCR_CUSTOM_USERNAME = test
OCR_CUSTOM_PASSWORD = test
URL_LOGIN = https://ocr-core-api.tcgroup.vn/token
URL_UPLOAD_FILE = https://ocr-core-api.tcgroup.vn/api/v1/file/upload
URL_OCR_BY_FILEID = https://ocr-core-api.tcgroup.vn/api/v1/ocr/general