shiue2000 commited on
Commit
085aaa6
·
verified ·
1 Parent(s): 8ce383d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -229,8 +229,8 @@ def run_analysis():
229
  )
230
  return html_content
231
 
232
- # except Exception:
233
- # return f"<pre>❌ 分析失敗:\n{traceback.format_exc()}</pre>"
234
 
235
  # ===== Gradio 前端 =====
236
  if __name__ == "__main__":
 
229
  )
230
  return html_content
231
 
232
+ except Exception:
233
+ return f"<pre>❌ 分析失敗:\n{traceback.format_exc()}</pre>"
234
 
235
  # ===== Gradio 前端 =====
236
  if __name__ == "__main__":