Update app.py
Browse files
app.py
CHANGED
|
@@ -165,21 +165,21 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 165 |
label="Question *",
|
| 166 |
value=DEFAULT_QUESTION,
|
| 167 |
interactive=True,
|
| 168 |
-
|
| 169 |
-
max_lines=
|
| 170 |
)
|
| 171 |
with gr.Row():
|
| 172 |
ground_truth = gr.Textbox(
|
| 173 |
label="Ground Truth",
|
| 174 |
value=DEFAULT_GROUND_TRUTH,
|
| 175 |
interactive=True,
|
| 176 |
-
|
| 177 |
max_lines=2
|
| 178 |
)
|
| 179 |
file_name = gr.Textbox(
|
| 180 |
label="File Name",
|
| 181 |
interactive=True,
|
| 182 |
-
|
| 183 |
max_lines=2,
|
| 184 |
scale=2
|
| 185 |
)
|
|
@@ -214,8 +214,8 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 214 |
answer = gr.Textbox(
|
| 215 |
label="Answer",
|
| 216 |
interactive=False,
|
| 217 |
-
|
| 218 |
-
max_lines=
|
| 219 |
)
|
| 220 |
|
| 221 |
with gr.Accordion("Console Logs", open=False):
|
|
|
|
| 165 |
label="Question *",
|
| 166 |
value=DEFAULT_QUESTION,
|
| 167 |
interactive=True,
|
| 168 |
+
lines=1,
|
| 169 |
+
max_lines=5
|
| 170 |
)
|
| 171 |
with gr.Row():
|
| 172 |
ground_truth = gr.Textbox(
|
| 173 |
label="Ground Truth",
|
| 174 |
value=DEFAULT_GROUND_TRUTH,
|
| 175 |
interactive=True,
|
| 176 |
+
lines=1,
|
| 177 |
max_lines=2
|
| 178 |
)
|
| 179 |
file_name = gr.Textbox(
|
| 180 |
label="File Name",
|
| 181 |
interactive=True,
|
| 182 |
+
lines=1,
|
| 183 |
max_lines=2,
|
| 184 |
scale=2
|
| 185 |
)
|
|
|
|
| 214 |
answer = gr.Textbox(
|
| 215 |
label="Answer",
|
| 216 |
interactive=False,
|
| 217 |
+
lines=1,
|
| 218 |
+
max_lines=5
|
| 219 |
)
|
| 220 |
|
| 221 |
with gr.Accordion("Console Logs", open=False):
|