Reapply "整理项目结构,优化配置项"

This reverts commit 2f650dd880.
This commit is contained in:
2024-07-15 15:20:52 +08:00
parent 2f650dd880
commit f4a2a38df0
33 changed files with 275 additions and 506 deletions

View File

@@ -13,12 +13,11 @@ from paddlenlp.utils.doc_parser import DocParser
from sqlalchemy import update
from auto_email.error_email import send_error_email
from config.log import LOGGING_CONFIG
from config.mysql import MysqlSession
from config.photo_review import PHHD_BATCH_SIZE, SLEEP_MINUTES
from config.ucloud import BUCKET
from models import ZxPhrec, ZxPhhd
from ucloud import ucloud
from db import MysqlSession
from db.mysql import ZxPhrec, ZxPhhd
from log import LOGGING_CONFIG
from photo_review import PHHD_BATCH_SIZE, SLEEP_MINUTES
from ucloud import BUCKET, ucloud
DOC_PARSER = DocParser(use_gpu=True, device_id=1)