Update app.py
Browse files
app.py
CHANGED
|
@@ -247,11 +247,6 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 247 |
max_lines=5
|
| 248 |
)
|
| 249 |
|
| 250 |
-
with gr.Row():
|
| 251 |
-
clear_btn = gr.ClearButton(
|
| 252 |
-
components=[question, ground_truth, file_name, file_link, answer, console_logs]
|
| 253 |
-
)
|
| 254 |
-
|
| 255 |
with gr.Accordion("Console Logs", open=False):
|
| 256 |
console_logs = gr.Textbox(
|
| 257 |
label="Output",
|
|
@@ -260,6 +255,11 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 260 |
max_lines=25
|
| 261 |
)
|
| 262 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 263 |
submit_btn.click(
|
| 264 |
fn=ask,
|
| 265 |
inputs=[question, openai_api_key, gemini_api_key, anthropic_api_key, file_name],
|
|
|
|
| 247 |
max_lines=5
|
| 248 |
)
|
| 249 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 250 |
with gr.Accordion("Console Logs", open=False):
|
| 251 |
console_logs = gr.Textbox(
|
| 252 |
label="Output",
|
|
|
|
| 255 |
max_lines=25
|
| 256 |
)
|
| 257 |
|
| 258 |
+
with gr.Row():
|
| 259 |
+
clear_btn = gr.ClearButton(
|
| 260 |
+
components=[question, ground_truth, file_name, file_link, answer, console_logs]
|
| 261 |
+
)
|
| 262 |
+
|
| 263 |
submit_btn.click(
|
| 264 |
fn=ask,
|
| 265 |
inputs=[question, openai_api_key, gemini_api_key, anthropic_api_key, file_name],
|