bstraehle commited on
Commit
c3efb0a
·
verified ·
1 Parent(s): f2303ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -12
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 with the <strong>GUI</strong>, select from the examples below. "
120
- f"To use via <strong>API</strong> or <strong>MCP</strong>, see the link below. "
 
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=2,
171
- max_lines=5
172
  )
173
  with gr.Row():
174
  ground_truth = gr.Textbox(
175
  label="Ground Truth",
176
  value=DEFAULT_GROUND_TRUTH,
177
  interactive=True,
178
- lines=2,
179
- max_lines=2
180
  )
181
  file_name = gr.Textbox(
182
  label="File Name",
183
  interactive=True,
184
- lines=2,
185
- max_lines=2,
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=2,
220
- max_lines=5
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=20,
229
- max_lines=20
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)