Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -632,8 +632,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="indigo"), title
|
|
| 632 |
review_table = gr.DataFrame(
|
| 633 |
label="Editable Classification Table",
|
| 634 |
interactive=True,
|
| 635 |
-
wrap=True
|
| 636 |
-
height=400
|
| 637 |
)
|
| 638 |
|
| 639 |
with gr.Row():
|
|
@@ -670,8 +669,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="indigo"), title
|
|
| 670 |
corrections_table = gr.DataFrame(
|
| 671 |
label="Complete Corrections Log",
|
| 672 |
interactive=False,
|
| 673 |
-
wrap=True
|
| 674 |
-
height=400
|
| 675 |
)
|
| 676 |
|
| 677 |
with gr.Row():
|
|
@@ -709,8 +707,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="indigo"), title
|
|
| 709 |
compare_summary = gr.Markdown()
|
| 710 |
compare_results = gr.DataFrame(
|
| 711 |
label="Detailed Comparison Results",
|
| 712 |
-
wrap=True
|
| 713 |
-
height=400
|
| 714 |
)
|
| 715 |
|
| 716 |
compare_btn.click(
|
|
@@ -730,6 +727,10 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="indigo"), title
|
|
| 730 |
</p>
|
| 731 |
</div>
|
| 732 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 733 |
|
| 734 |
# ==================================================
|
| 735 |
# 🌐 Mount Gradio App
|
|
|
|
| 632 |
review_table = gr.DataFrame(
|
| 633 |
label="Editable Classification Table",
|
| 634 |
interactive=True,
|
| 635 |
+
wrap=True
|
|
|
|
| 636 |
)
|
| 637 |
|
| 638 |
with gr.Row():
|
|
|
|
| 669 |
corrections_table = gr.DataFrame(
|
| 670 |
label="Complete Corrections Log",
|
| 671 |
interactive=False,
|
| 672 |
+
wrap=True
|
|
|
|
| 673 |
)
|
| 674 |
|
| 675 |
with gr.Row():
|
|
|
|
| 707 |
compare_summary = gr.Markdown()
|
| 708 |
compare_results = gr.DataFrame(
|
| 709 |
label="Detailed Comparison Results",
|
| 710 |
+
wrap=True
|
|
|
|
| 711 |
)
|
| 712 |
|
| 713 |
compare_btn.click(
|
|
|
|
| 727 |
</p>
|
| 728 |
</div>
|
| 729 |
""")
|
| 730 |
+
|
| 731 |
+
# Launch the app
|
| 732 |
+
#if __name__ == "__main__":
|
| 733 |
+
# main_ui.launch()
|
| 734 |
|
| 735 |
# ==================================================
|
| 736 |
# 🌐 Mount Gradio App
|