lauren-cw commited on
Commit
3b81598
·
verified ·
1 Parent(s): 0c79e4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -175,7 +175,7 @@ def predict_risk(gen, age, family, q1, q2, q3, q4, q5, q6, q7, q8, q9, q10, q11,
175
 
176
  # 檢查是否有任何一個選項是 None (未按)
177
  if any(v is None or v == "" for v in inputs):
178
- error_message = "<div style=\"color: red; font-weight: bold;\">⚠️測驗載入有誤:請確保每一題都已填答或查看填答格式是否正確。</div>", ""
179
  return error_message
180
 
181
 
 
175
 
176
  # 檢查是否有任何一個選項是 None (未按)
177
  if any(v is None or v == "" for v in inputs):
178
+ error_message = "<div style=\"color: red; font-weight: bold;\">⚠️測驗載入有誤:請確保每一題都已填答或查看填答格式是否正確。</div>"
179
  return error_message
180
 
181