陈俊杰 commited on
Commit
4db5d9d
1 Parent(s): ca9cb99
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -299,9 +299,12 @@ This leaderboard is used to show the performance of the <strong>automatic evalua
299
  overall_total[k] += df[average_index][k]
300
 
301
  df["Average (all 4 datatsets)"] = [k / len(task) for k in overall_total]
 
 
302
  for col in df.select_dtypes(include=['float64', 'int64']).columns:
303
  df[col] = df[col].apply(lambda x: f"{x:.4f}")
304
- st.dataframe(pd.DataFrame(df))
 
305
  st.markdown("A baseline example can be found in the [baseline_example](https://huggingface.co/spaces/THUIR/AEOLLM/tree/main/baseline_example) folder.")
306
  # 获取北京时间
307
  time_placeholder = st.empty()
 
299
  overall_total[k] += df[average_index][k]
300
 
301
  df["Average (all 4 datatsets)"] = [k / len(task) for k in overall_total]
302
+
303
+ df = pd.DataFrame(df)
304
  for col in df.select_dtypes(include=['float64', 'int64']).columns:
305
  df[col] = df[col].apply(lambda x: f"{x:.4f}")
306
+ st.dataframe(df)
307
+
308
  st.markdown("A baseline example can be found in the [baseline_example](https://huggingface.co/spaces/THUIR/AEOLLM/tree/main/baseline_example) folder.")
309
  # 获取北京时间
310
  time_placeholder = st.empty()