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

This reverts commit ab15cb1fc3.
This commit is contained in:
2024-07-15 15:18:39 +08:00
parent 13575fb2aa
commit 2f650dd880
33 changed files with 506 additions and 275 deletions

17
config/photo_review.py Normal file
View File

@@ -0,0 +1,17 @@
# 项目奔溃的重试次数
RETRY_TIME = 1
# 每次从数据库获取的案子数量
PHHD_BATCH_SIZE = 10
# 没有查询到案子的等待时间(分钟)
SLEEP_MINUTES = 5
# 是否发送报错邮件
SEND_ERROR_EMAIL = True
# 是否开启布局分析
LAYOUT_ANALYSIS = False
# 可使用的GPU
CUDA_VISIBLE_DEVICES = "1"