alisamak commited on
Commit
4e62403
·
verified ·
1 Parent(s): 9f64194

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -35,9 +35,9 @@ def download_gaia_to_csv_and_return_path():
35
  return None, "❌ HF_TOKEN not found."
36
 
37
  login(token)
38
- dataset = load_dataset("gaia-benchmark/GAIA", "2023_level1", split="test", trust_remote_code=True)
39
 
40
- output_path = "gaia_level1_test.csv"
41
  keys = dataset[0].keys()
42
 
43
  with open(output_path, "w", newline="", encoding="utf-8") as f:
@@ -193,7 +193,7 @@ with gr.Blocks() as demo:
193
 
194
  test_eval_button = gr.Button("🔍 Evaluate on Local GAIA Test Set")
195
 
196
- download_button = gr.Button("=== Download DB ====")
197
  file_output = gr.File(label="Download CSV")
198
  status_output = gr.Textbox(label="Status")
199
 
 
35
  return None, "❌ HF_TOKEN not found."
36
 
37
  login(token)
38
+ dataset = load_dataset("gaia-benchmark/GAIA", "2023_level1", split="validation", trust_remote_code=True)
39
 
40
+ output_path = "gaia_level1_validation.csv"
41
  keys = dataset[0].keys()
42
 
43
  with open(output_path, "w", newline="", encoding="utf-8") as f:
 
193
 
194
  test_eval_button = gr.Button("🔍 Evaluate on Local GAIA Test Set")
195
 
196
+ download_button = gr.Button("=== Download Validation DB ====")
197
  file_output = gr.File(label="Download CSV")
198
  status_output = gr.Textbox(label="Status")
199