Spaces:
Build error
Build error
博闻 commited on
Commit ·
af9b96b
1
Parent(s): 6e818d9
fix url
Browse files
app.py
CHANGED
|
@@ -19,7 +19,11 @@ with gr.Blocks(title="ChinaTravel Benchmark Evaluation") as demo:
|
|
| 19 |
with gr.Tabs():
|
| 20 |
for split in SPLITS_LIST:
|
| 21 |
with gr.Tab(split):
|
| 22 |
-
hf_url =
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
gr.Markdown(f"🗂️ [Hugging Face Dataset Viewer]({hf_url})")
|
| 24 |
gr.Dataframe(
|
| 25 |
value=leaderboard_frames.get(split),
|
|
|
|
| 19 |
with gr.Tabs():
|
| 20 |
for split in SPLITS_LIST:
|
| 21 |
with gr.Tab(split):
|
| 22 |
+
hf_url = (
|
| 23 |
+
f"https://huggingface.co/datasets/LAMDA-NeSy/ChinaTravel/viewer/test/{split}"
|
| 24 |
+
if split == "human1000"
|
| 25 |
+
else f"https://huggingface.co/datasets/LAMDA-NeSy/ChinaTravel/viewer/default/{split}"
|
| 26 |
+
)
|
| 27 |
gr.Markdown(f"🗂️ [Hugging Face Dataset Viewer]({hf_url})")
|
| 28 |
gr.Dataframe(
|
| 29 |
value=leaderboard_frames.get(split),
|