1
This commit is contained in:
@@ -395,9 +395,9 @@ def export_xlsx():
|
||||
"文本": item.get("text", ""),
|
||||
"判定结果": prediction_text,
|
||||
"分类标签": item.get("category_label", ""),
|
||||
"置信度": f"{float(item.get("confidence", 0) or 0) * 100:.2f}%",
|
||||
"垃圾概率": f"{float(item.get("spam_probability", 0) or 0) * 100:.2f}%",
|
||||
"正常概率": f"{float(item.get("ham_probability", 0) or 0) * 100:.2f}%",
|
||||
"置信度": f"{float(item.get('confidence', 0) or 0) * 100:.2f}%",
|
||||
"垃圾概率": f"{float(item.get('spam_probability', 0) or 0) * 100:.2f}%",
|
||||
"正常概率": f"{float(item.get('ham_probability', 0) or 0) * 100:.2f}%",
|
||||
"风险关键词": token_str,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user