From 6a89b257920e71b371fef0b79091e3b2f5dbe2ff Mon Sep 17 00:00:00 2001 From: oscar Date: Sun, 16 Mar 2025 15:40:54 +0800 Subject: [PATCH] modify scripts --- scripts/iafd/src/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/iafd/src/utils.py b/scripts/iafd/src/utils.py index 39df39a..6213d08 100644 --- a/scripts/iafd/src/utils.py +++ b/scripts/iafd/src/utils.py @@ -4,6 +4,7 @@ import json import time import csv import logging +import config # 解析 height 和 weight(转换成数字) def parse_height(height_str): @@ -20,7 +21,7 @@ def parse_weight(weight_str): except: return None -update_dir = '../result' +update_dir = f'{config.global_host_data_dir}/iafd' performers_dir = f'{update_dir}/performers' movies_dir = f'{update_dir}/movies'