Update app.py
Browse files
app.py
CHANGED
|
@@ -119,8 +119,8 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 119 |
label="Question *",
|
| 120 |
placeholder=DEFAULT_QUESTION,
|
| 121 |
interactive=True,
|
| 122 |
-
lines=
|
| 123 |
-
max_lines=
|
| 124 |
)
|
| 125 |
with gr.Row():
|
| 126 |
ground_truth = gr.Textbox(
|
|
@@ -167,8 +167,8 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 167 |
answer = gr.Textbox(
|
| 168 |
label="Answer",
|
| 169 |
interactive=False,
|
| 170 |
-
lines=
|
| 171 |
-
max_lines=
|
| 172 |
)
|
| 173 |
|
| 174 |
submit_btn.click(
|
|
|
|
| 119 |
label="Question *",
|
| 120 |
placeholder=DEFAULT_QUESTION,
|
| 121 |
interactive=True,
|
| 122 |
+
lines=1,
|
| 123 |
+
max_lines=5
|
| 124 |
)
|
| 125 |
with gr.Row():
|
| 126 |
ground_truth = gr.Textbox(
|
|
|
|
| 167 |
answer = gr.Textbox(
|
| 168 |
label="Answer",
|
| 169 |
interactive=False,
|
| 170 |
+
lines=1,
|
| 171 |
+
max_lines=5
|
| 172 |
)
|
| 173 |
|
| 174 |
submit_btn.click(
|