refactor: 将prediction_results目录移动到webui目录下,优化项目结构

This commit is contained in:
Charles 2025-08-26 16:49:56 +08:00
parent 609235c077
commit ca2502757f
4 changed files with 6718 additions and 1 deletions

View File

@ -126,7 +126,7 @@ def save_prediction_results(file_path, prediction_type, prediction_results, actu
"""保存预测结果到文件""" """保存预测结果到文件"""
try: try:
# 创建预测结果目录 # 创建预测结果目录
results_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'prediction_results') results_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'prediction_results')
os.makedirs(results_dir, exist_ok=True) os.makedirs(results_dir, exist_ok=True)
# 生成文件名 # 生成文件名

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff