Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -119,7 +119,7 @@ with gr.Blocks() as gaia:
|
|
| 119 |
QUESTION_FILE_PATH = "data/gaia_validation.jsonl"
|
| 120 |
|
| 121 |
gr.Examples(
|
| 122 |
-
label="Level 1",
|
| 123 |
examples=get_questions(QUESTION_FILE_PATH, 1),
|
| 124 |
inputs=[question, level, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
|
| 125 |
outputs=answer,
|
|
@@ -127,7 +127,7 @@ with gr.Blocks() as gaia:
|
|
| 127 |
)
|
| 128 |
|
| 129 |
gr.Examples(
|
| 130 |
-
label="Level 2",
|
| 131 |
examples=get_questions(QUESTION_FILE_PATH, 2),
|
| 132 |
inputs=[question, level, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
|
| 133 |
outputs=answer,
|
|
@@ -135,7 +135,7 @@ with gr.Blocks() as gaia:
|
|
| 135 |
)
|
| 136 |
|
| 137 |
gr.Examples(
|
| 138 |
-
label="Level 3",
|
| 139 |
examples=get_questions(QUESTION_FILE_PATH, 3),
|
| 140 |
inputs=[question, level, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
|
| 141 |
outputs=answer,
|
|
|
|
| 119 |
QUESTION_FILE_PATH = "data/gaia_validation.jsonl"
|
| 120 |
|
| 121 |
gr.Examples(
|
| 122 |
+
label="GAIA Benchmark Level 1 Problems",
|
| 123 |
examples=get_questions(QUESTION_FILE_PATH, 1),
|
| 124 |
inputs=[question, level, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
|
| 125 |
outputs=answer,
|
|
|
|
| 127 |
)
|
| 128 |
|
| 129 |
gr.Examples(
|
| 130 |
+
label="GAIA Benchmark Level 2 Problems",
|
| 131 |
examples=get_questions(QUESTION_FILE_PATH, 2),
|
| 132 |
inputs=[question, level, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
|
| 133 |
outputs=answer,
|
|
|
|
| 135 |
)
|
| 136 |
|
| 137 |
gr.Examples(
|
| 138 |
+
label="GAIA Benchmark Level 3 Problems",
|
| 139 |
examples=get_questions(QUESTION_FILE_PATH, 3),
|
| 140 |
inputs=[question, level, ground_truth, file_name, openai_api_key, gemini_api_key, anthropic_api_key],
|
| 141 |
outputs=answer,
|