Place verification check/cross on same line as output
Browse files- __pycache__/app.cpython-312.pyc +0 -0
- app.py +15 -7
__pycache__/app.cpython-312.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-312.pyc and b/__pycache__/app.cpython-312.pyc differ
|
|
|
app.py
CHANGED
|
@@ -332,7 +332,12 @@ html, body, .gradio-container, button, input, select, textarea, .prose {
|
|
| 332 |
}
|
| 333 |
.result-status input {
|
| 334 |
text-align: center !important;
|
| 335 |
-
font-size: 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 336 |
}
|
| 337 |
"""
|
| 338 |
|
|
@@ -430,14 +435,17 @@ with gr.Blocks(title="Morphological Inflection", theme=gr.themes.Soft(), css=CUS
|
|
| 430 |
gr.Markdown("### Results")
|
| 431 |
with gr.Row():
|
| 432 |
with gr.Column():
|
| 433 |
-
|
| 434 |
-
|
|
|
|
| 435 |
with gr.Column():
|
| 436 |
-
|
| 437 |
-
|
|
|
|
| 438 |
with gr.Column():
|
| 439 |
-
|
| 440 |
-
|
|
|
|
| 441 |
|
| 442 |
with gr.Accordion("Training Data Exposure", open=False):
|
| 443 |
coverage_box = gr.Markdown(
|
|
|
|
| 332 |
}
|
| 333 |
.result-status input {
|
| 334 |
text-align: center !important;
|
| 335 |
+
font-size: 1.15em !important;
|
| 336 |
+
padding: 0 !important;
|
| 337 |
+
}
|
| 338 |
+
.result-status {
|
| 339 |
+
min-width: 48px !important;
|
| 340 |
+
max-width: 60px !important;
|
| 341 |
}
|
| 342 |
"""
|
| 343 |
|
|
|
|
| 435 |
gr.Markdown("### Results")
|
| 436 |
with gr.Row():
|
| 437 |
with gr.Column():
|
| 438 |
+
with gr.Row():
|
| 439 |
+
out_100 = gr.Textbox(label="100 Examples (Low)", interactive=False, scale=5)
|
| 440 |
+
stat_100 = gr.Textbox(label="Status (100)", show_label=False, interactive=False, scale=1, elem_classes=["result-status"])
|
| 441 |
with gr.Column():
|
| 442 |
+
with gr.Row():
|
| 443 |
+
out_1000 = gr.Textbox(label="1,000 Examples (Medium)", interactive=False, scale=5)
|
| 444 |
+
stat_1000 = gr.Textbox(label="Status (1,000)", show_label=False, interactive=False, scale=1, elem_classes=["result-status"])
|
| 445 |
with gr.Column():
|
| 446 |
+
with gr.Row():
|
| 447 |
+
out_10000 = gr.Textbox(label="10,000 Examples (High)", interactive=False, scale=5)
|
| 448 |
+
stat_10000 = gr.Textbox(label="Status (10,000)", show_label=False, interactive=False, scale=1, elem_classes=["result-status"])
|
| 449 |
|
| 450 |
with gr.Accordion("Training Data Exposure", open=False):
|
| 451 |
coverage_box = gr.Markdown(
|