博闻 commited on
Commit
af9b96b
·
1 Parent(s): 6e818d9
Files changed (1) hide show
  1. app.py +5 -1
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 = f"https://huggingface.co/datasets/LAMDA-NeSy/ChinaTravel/viewer/default/{split}"
 
 
 
 
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),