wanggenfu commited on
Commit
5bf406d
·
verified ·
1 Parent(s): 9ec25fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -253,7 +253,7 @@ def classify_email(json_input):
253
  # ===================== 核心处理函数(模拟邮件分析) =====================
254
  def classify_email(sender: str, subject: str, body: str) -> tuple[str, str]:
255
  if sender.strip() == "" or subject.strip() == "" or body.strip() == "" :
256
- return return "true", "sender、subject、subject为空"
257
 
258
  email = {
259
  "sender": sender,
 
253
  # ===================== 核心处理函数(模拟邮件分析) =====================
254
  def classify_email(sender: str, subject: str, body: str) -> tuple[str, str]:
255
  if sender.strip() == "" or subject.strip() == "" or body.strip() == "" :
256
+ return "true", "sender、subject、subject为空"
257
 
258
  email = {
259
  "sender": sender,