Zion L commited on
fix: drop sdk_version pin (use latest gradio, compat with hf_hub 1.x); simplify app
Browse files- README.md +0 -1
- __pycache__/app.cpython-314.pyc +0 -0
- app.py +2 -14
- requirements.txt +0 -1
README.md
CHANGED
|
@@ -4,7 +4,6 @@ emoji: 🏛️
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 4.44.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
|
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
|
|
|
| 7 |
app_file: app.py
|
| 8 |
pinned: false
|
| 9 |
license: mit
|
__pycache__/app.cpython-314.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-314.pyc and b/__pycache__/app.cpython-314.pyc differ
|
|
|
app.py
CHANGED
|
@@ -81,20 +81,8 @@ FINDINGS = """
|
|
| 81 |
|
| 82 |
with gr.Blocks(title="Chinese Classical Bench Leaderboard", theme=gr.themes.Soft()) as demo:
|
| 83 |
gr.Markdown(INTRO)
|
| 84 |
-
gr.Dataframe(
|
| 85 |
-
|
| 86 |
-
interactive=False,
|
| 87 |
-
wrap=True,
|
| 88 |
-
column_widths=["3%", "20%", "13%", "16%", "13%", "16%", "12%", "7%"],
|
| 89 |
-
)
|
| 90 |
-
gr.BarPlot(
|
| 91 |
-
value=DF[["Model", "Avg"]],
|
| 92 |
-
x="Model",
|
| 93 |
-
y="Avg",
|
| 94 |
-
title="平均分 (Avg)",
|
| 95 |
-
x_label_angle=-45,
|
| 96 |
-
height=320,
|
| 97 |
-
)
|
| 98 |
gr.Markdown(FINDINGS)
|
| 99 |
|
| 100 |
if __name__ == "__main__":
|
|
|
|
| 81 |
|
| 82 |
with gr.Blocks(title="Chinese Classical Bench Leaderboard", theme=gr.themes.Soft()) as demo:
|
| 83 |
gr.Markdown(INTRO)
|
| 84 |
+
gr.Dataframe(value=DF, interactive=False, wrap=True)
|
| 85 |
+
gr.BarPlot(value=DF[["Model", "Avg"]], x="Model", y="Avg", title="平均分 (Avg)")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
gr.Markdown(FINDINGS)
|
| 87 |
|
| 88 |
if __name__ == "__main__":
|
requirements.txt
CHANGED
|
@@ -1,2 +1 @@
|
|
| 1 |
pandas
|
| 2 |
-
audioop-lts ; python_version >= "3.13"
|
|
|
|
| 1 |
pandas
|
|
|