Update app.py
Browse files
app.py
CHANGED
|
@@ -116,8 +116,9 @@ DESCRIPTION = (
|
|
| 116 |
f"including code generation & execution, browser automation, and multi-modal reasoning. "
|
| 117 |
f"The system can solve multiple <a href='https://arxiv.org/pdf/2311.12983'>GAIA Benchmark</a> "
|
| 118 |
f"Level 1, 2, 3 and even <a href='https://arxiv.org/pdf/2501.14249'>Humanity's Last Exam</a> "
|
| 119 |
-
f"problems. To get started
|
| 120 |
-
f"
|
|
|
|
| 121 |
f"API keys are provided thanks to sponsor credit. "
|
| 122 |
f"<a href='{BASE_URL}/README.md'>Documentation</a></p>"
|
| 123 |
)
|
|
@@ -167,22 +168,22 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 167 |
label="Question *",
|
| 168 |
value=DEFAULT_QUESTION,
|
| 169 |
interactive=True,
|
| 170 |
-
lines=
|
| 171 |
-
max_lines=
|
| 172 |
)
|
| 173 |
with gr.Row():
|
| 174 |
ground_truth = gr.Textbox(
|
| 175 |
label="Ground Truth",
|
| 176 |
value=DEFAULT_GROUND_TRUTH,
|
| 177 |
interactive=True,
|
| 178 |
-
lines=
|
| 179 |
-
max_lines=
|
| 180 |
)
|
| 181 |
file_name = gr.Textbox(
|
| 182 |
label="File Name",
|
| 183 |
interactive=True,
|
| 184 |
-
lines=
|
| 185 |
-
max_lines=
|
| 186 |
scale=2
|
| 187 |
)
|
| 188 |
file_link = gr.HTML(
|
|
@@ -216,8 +217,8 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 216 |
answer = gr.Textbox(
|
| 217 |
label="Answer",
|
| 218 |
interactive=False,
|
| 219 |
-
lines=
|
| 220 |
-
max_lines=
|
| 221 |
)
|
| 222 |
|
| 223 |
# Console logs section
|
|
@@ -225,8 +226,8 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 225 |
console_logs = gr.Textbox(
|
| 226 |
label="Console Output",
|
| 227 |
interactive=False,
|
| 228 |
-
lines=
|
| 229 |
-
max_lines=
|
| 230 |
)
|
| 231 |
|
| 232 |
# Clear button (after all components are defined)
|
|
|
|
| 116 |
f"including code generation & execution, browser automation, and multi-modal reasoning. "
|
| 117 |
f"The system can solve multiple <a href='https://arxiv.org/pdf/2311.12983'>GAIA Benchmark</a> "
|
| 118 |
f"Level 1, 2, 3 and even <a href='https://arxiv.org/pdf/2501.14249'>Humanity's Last Exam</a> "
|
| 119 |
+
f"problems. To get started, select from the examples below. "
|
| 120 |
+
f"Processing can take several minutes depending on the question complexity. "
|
| 121 |
+
f"Console logs are provided belowfor transparency.</p>"
|
| 122 |
f"API keys are provided thanks to sponsor credit. "
|
| 123 |
f"<a href='{BASE_URL}/README.md'>Documentation</a></p>"
|
| 124 |
)
|
|
|
|
| 168 |
label="Question *",
|
| 169 |
value=DEFAULT_QUESTION,
|
| 170 |
interactive=True,
|
| 171 |
+
lines=1,
|
| 172 |
+
max_lines=1
|
| 173 |
)
|
| 174 |
with gr.Row():
|
| 175 |
ground_truth = gr.Textbox(
|
| 176 |
label="Ground Truth",
|
| 177 |
value=DEFAULT_GROUND_TRUTH,
|
| 178 |
interactive=True,
|
| 179 |
+
lines=1,
|
| 180 |
+
max_lines=1
|
| 181 |
)
|
| 182 |
file_name = gr.Textbox(
|
| 183 |
label="File Name",
|
| 184 |
interactive=True,
|
| 185 |
+
lines=1,
|
| 186 |
+
max_lines=1,
|
| 187 |
scale=2
|
| 188 |
)
|
| 189 |
file_link = gr.HTML(
|
|
|
|
| 217 |
answer = gr.Textbox(
|
| 218 |
label="Answer",
|
| 219 |
interactive=False,
|
| 220 |
+
lines=1,
|
| 221 |
+
max_lines=1
|
| 222 |
)
|
| 223 |
|
| 224 |
# Console logs section
|
|
|
|
| 226 |
console_logs = gr.Textbox(
|
| 227 |
label="Console Output",
|
| 228 |
interactive=False,
|
| 229 |
+
lines=25,
|
| 230 |
+
max_lines=25
|
| 231 |
)
|
| 232 |
|
| 233 |
# Clear button (after all components are defined)
|