shiue2000 commited on
Commit
ec5afb2
·
verified ·
1 Parent(s): 0ea5a01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -121,8 +121,10 @@ def run_analysis():
121
  df_news = pd.read_csv(news_file)
122
  news_summary = df_news.groupby('類別').size().to_dict()
123
  news_table = df_news.to_html(index=False)
124
- else: news_summary={}, news_table="<p>未提供新聞資料</p>"
125
-
 
 
126
  # 社群參與表格
127
  engagement_table=f"""
128
  <table class="min-w-full bg-white border border-gray-200">
 
121
  df_news = pd.read_csv(news_file)
122
  news_summary = df_news.groupby('類別').size().to_dict()
123
  news_table = df_news.to_html(index=False)
124
+ else:
125
+ news_summary = {}
126
+ news_table = "<p>未提供新聞資料</p>"
127
+
128
  # 社群參與表格
129
  engagement_table=f"""
130
  <table class="min-w-full bg-white border border-gray-200">