Update app.py
Browse files
app.py
CHANGED
|
@@ -162,7 +162,7 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 162 |
value=DEFAULT_QUESTION,
|
| 163 |
interactive=True,
|
| 164 |
lines=1,
|
| 165 |
-
max_lines=
|
| 166 |
)
|
| 167 |
with gr.Row():
|
| 168 |
ground_truth = gr.Textbox(
|
|
@@ -170,13 +170,13 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 170 |
value=DEFAULT_GROUND_TRUTH,
|
| 171 |
interactive=True,
|
| 172 |
lines=1,
|
| 173 |
-
max_lines=
|
| 174 |
)
|
| 175 |
file_name = gr.Textbox(
|
| 176 |
label="File Name",
|
| 177 |
interactive=True,
|
| 178 |
lines=1,
|
| 179 |
-
max_lines=
|
| 180 |
scale=2
|
| 181 |
)
|
| 182 |
file_link = gr.HTML(
|
|
@@ -211,7 +211,7 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 211 |
label="Answer",
|
| 212 |
interactive=False,
|
| 213 |
lines=1,
|
| 214 |
-
max_lines=
|
| 215 |
)
|
| 216 |
|
| 217 |
with gr.Accordion("Console Logs", open=False):
|
|
|
|
| 162 |
value=DEFAULT_QUESTION,
|
| 163 |
interactive=True,
|
| 164 |
lines=1,
|
| 165 |
+
max_lines=5
|
| 166 |
)
|
| 167 |
with gr.Row():
|
| 168 |
ground_truth = gr.Textbox(
|
|
|
|
| 170 |
value=DEFAULT_GROUND_TRUTH,
|
| 171 |
interactive=True,
|
| 172 |
lines=1,
|
| 173 |
+
max_lines=2
|
| 174 |
)
|
| 175 |
file_name = gr.Textbox(
|
| 176 |
label="File Name",
|
| 177 |
interactive=True,
|
| 178 |
lines=1,
|
| 179 |
+
max_lines=2,
|
| 180 |
scale=2
|
| 181 |
)
|
| 182 |
file_link = gr.HTML(
|
|
|
|
| 211 |
label="Answer",
|
| 212 |
interactive=False,
|
| 213 |
lines=1,
|
| 214 |
+
max_lines=5
|
| 215 |
)
|
| 216 |
|
| 217 |
with gr.Accordion("Console Logs", open=False):
|