Update app.py
Browse files
app.py
CHANGED
|
@@ -239,9 +239,6 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 239 |
with gr.Row():
|
| 240 |
gr.LoginButton()
|
| 241 |
submit_btn = gr.Button("Submit", variant="primary")
|
| 242 |
-
clear_btn = gr.ClearButton(
|
| 243 |
-
components=[question, ground_truth, file_name, file_link, answer, console_logs]
|
| 244 |
-
)
|
| 245 |
with gr.Column(scale=1):
|
| 246 |
answer = gr.Textbox(
|
| 247 |
label="Answer",
|
|
@@ -250,6 +247,11 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 250 |
max_lines=5
|
| 251 |
)
|
| 252 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 253 |
with gr.Accordion("Console Logs", open=False):
|
| 254 |
console_logs = gr.Textbox(
|
| 255 |
label="Output",
|
|
|
|
| 239 |
with gr.Row():
|
| 240 |
gr.LoginButton()
|
| 241 |
submit_btn = gr.Button("Submit", variant="primary")
|
|
|
|
|
|
|
|
|
|
| 242 |
with gr.Column(scale=1):
|
| 243 |
answer = gr.Textbox(
|
| 244 |
label="Answer",
|
|
|
|
| 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",
|