bstraehle commited on
Commit
fc150b2
·
verified ·
1 Parent(s): 210acae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -10
app.py CHANGED
@@ -68,12 +68,6 @@ with gr.Blocks() as gaia:
68
  interactive=True
69
  )
70
  with gr.Row():
71
- level = gr.Radio(
72
- choices=[1, 2, 3],
73
- label="GAIA Benchmark Level",
74
- interactive=True,
75
- scale=1
76
- )
77
  ground_truth = gr.Textbox(
78
  label="Ground Truth",
79
  interactive=True,
@@ -121,7 +115,7 @@ with gr.Blocks() as gaia:
121
  gr.Examples(
122
  label="GAIA Benchmark Level 1 Problems",
123
  examples=get_questions(QUESTION_FILE_PATH_GAIA, 1),
124
- inputs=[question, level, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
125
  examples_per_page=5,
126
  cache_examples=False
127
  )
@@ -129,7 +123,7 @@ with gr.Blocks() as gaia:
129
  gr.Examples(
130
  label="GAIA Benchmark Level 2 Problems",
131
  examples=get_questions(QUESTION_FILE_PATH_GAIA, 2),
132
- inputs=[question, level, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
133
  examples_per_page=5,
134
  cache_examples=False
135
  )
@@ -137,7 +131,7 @@ with gr.Blocks() as gaia:
137
  gr.Examples(
138
  label="GAIA Benchmark Level 3 Problems",
139
  examples=get_questions(QUESTION_FILE_PATH_GAIA, 3),
140
- inputs=[question, level, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
141
  examples_per_page=5,
142
  cache_examples=False
143
  )
@@ -145,7 +139,7 @@ with gr.Blocks() as gaia:
145
  gr.Examples(
146
  label="Humanity's Last Exam Problems",
147
  examples=get_questions(QUESTION_FILE_PATH_HLE, 0),
148
- inputs=[question, level, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
149
  examples_per_page=5,
150
  cache_examples=False
151
  )
 
68
  interactive=True
69
  )
70
  with gr.Row():
 
 
 
 
 
 
71
  ground_truth = gr.Textbox(
72
  label="Ground Truth",
73
  interactive=True,
 
115
  gr.Examples(
116
  label="GAIA Benchmark Level 1 Problems",
117
  examples=get_questions(QUESTION_FILE_PATH_GAIA, 1),
118
+ inputs=[question, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
119
  examples_per_page=5,
120
  cache_examples=False
121
  )
 
123
  gr.Examples(
124
  label="GAIA Benchmark Level 2 Problems",
125
  examples=get_questions(QUESTION_FILE_PATH_GAIA, 2),
126
+ inputs=[question, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
127
  examples_per_page=5,
128
  cache_examples=False
129
  )
 
131
  gr.Examples(
132
  label="GAIA Benchmark Level 3 Problems",
133
  examples=get_questions(QUESTION_FILE_PATH_GAIA, 3),
134
+ inputs=[question, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
135
  examples_per_page=5,
136
  cache_examples=False
137
  )
 
139
  gr.Examples(
140
  label="Humanity's Last Exam Problems",
141
  examples=get_questions(QUESTION_FILE_PATH_HLE, 0),
142
+ inputs=[question, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
143
  examples_per_page=5,
144
  cache_examples=False
145
  )