Spaces:
Running
Running
ycy
commited on
Commit
·
9775ab7
1
Parent(s):
1226900
test
Browse files
app.py
CHANGED
@@ -3,9 +3,7 @@ from gradio_leaderboard import Leaderboard, ColumnFilter, SelectColumns
|
|
3 |
import pandas as pd
|
4 |
from apscheduler.schedulers.background import BackgroundScheduler
|
5 |
from huggingface_hub import snapshot_download
|
6 |
-
import requests_cache
|
7 |
|
8 |
-
requests_cache.clear()
|
9 |
|
10 |
from src.about import (
|
11 |
CITATION_BUTTON_LABEL,
|
@@ -54,6 +52,14 @@ except Exception:
|
|
54 |
|
55 |
|
56 |
LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
(
|
59 |
finished_eval_queue_df,
|
|
|
3 |
import pandas as pd
|
4 |
from apscheduler.schedulers.background import BackgroundScheduler
|
5 |
from huggingface_hub import snapshot_download
|
|
|
6 |
|
|
|
7 |
|
8 |
from src.about import (
|
9 |
CITATION_BUTTON_LABEL,
|
|
|
52 |
|
53 |
|
54 |
LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
55 |
+
pd.set_option('display.max_rows', None) # 显示所有行
|
56 |
+
pd.set_option('display.max_columns', None) # 显示所有列
|
57 |
+
pd.set_option('display.width', None) # 让输出适应屏幕宽度
|
58 |
+
pd.set_option('display.max_colwidth', None) # 不截断列内容
|
59 |
+
|
60 |
+
print(LEADERBOARD_DF) # 直接打印
|
61 |
+
assert 0
|
62 |
+
|
63 |
|
64 |
(
|
65 |
finished_eval_queue_df,
|