Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ def index():
|
|
| 80 |
# 获取当前业务日
|
| 81 |
current_business_date, _ = get_business_info()
|
| 82 |
# 仅当业务日变化时,才执行 main_task
|
| 83 |
-
if Config["LAST_INFERENCED_BUSINESS_DATE"] != current_business_date:
|
| 84 |
main_task(predictor)
|
| 85 |
|
| 86 |
# 读取并返回 HTML
|
|
|
|
| 80 |
# 获取当前业务日
|
| 81 |
current_business_date, _ = get_business_info()
|
| 82 |
# 仅当业务日变化时,才执行 main_task
|
| 83 |
+
#if Config["LAST_INFERENCED_BUSINESS_DATE"] != current_business_date:
|
| 84 |
main_task(predictor)
|
| 85 |
|
| 86 |
# 读取并返回 HTML
|