Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -549,6 +549,7 @@ def launch_interface():
|
|
549 |
"SDG is highlighted above the graph. Download the Page Predictions CVS for further details.",
|
550 |
interactive=False, scale=1
|
551 |
)
|
|
|
552 |
gr.Markdown("##### Download results")
|
553 |
with gr.Row():
|
554 |
page_csv = gr.File(label="π Download Page Predictions CSV")
|
@@ -557,16 +558,15 @@ def launch_interface():
|
|
557 |
|
558 |
with gr.TabItem("π Secondary SDGs"):
|
559 |
with gr.Row():
|
560 |
-
|
561 |
gr.Textbox(
|
562 |
"When the analysis is completed, the Secondary SDGs bar graph on the left will show "+
|
563 |
"SDGs that are not the primary focus of the pages analysed. These SDGs are second to the "+
|
564 |
-
"Primary SDGs.",
|
565 |
interactive=False, scale=1
|
566 |
)
|
|
|
567 |
gr.Markdown("##### Download results")
|
568 |
-
secondary_page_plot = gr.Plot(label="π Secondary SDGs [Page-Level]")
|
569 |
-
|
570 |
with gr.Row():
|
571 |
page_csv_secondary = gr.File(label="π Download Page Predictions CSV")
|
572 |
page_report_file_secondary = gr.File(label="π Download Page Report DOCX")
|
@@ -597,6 +597,7 @@ def launch_interface():
|
|
597 |
"SDG is highlighted above the graph. Download the Sentence Predictions CVS for further details.",
|
598 |
interactive=False, scale=1
|
599 |
)
|
|
|
600 |
gr.Markdown("##### Download results")
|
601 |
with gr.Row():
|
602 |
sentence_csv = gr.File(label="π Download Sentence Predictions CSV")
|
@@ -604,8 +605,16 @@ def launch_interface():
|
|
604 |
sentence_jpeg1 = gr.File(label="πΌοΈ Download Primary SDGs JPEG")
|
605 |
|
606 |
with gr.TabItem("π Secondary SDGs"):
|
607 |
-
|
608 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
609 |
with gr.Row():
|
610 |
sentence_csv_secondary = gr.File(label="π Download Sentence Predictions CSV")
|
611 |
sentence_report_file_secondary = gr.File(label="π Download Sentence Report DOCX")
|
|
|
549 |
"SDG is highlighted above the graph. Download the Page Predictions CVS for further details.",
|
550 |
interactive=False, scale=1
|
551 |
)
|
552 |
+
|
553 |
gr.Markdown("##### Download results")
|
554 |
with gr.Row():
|
555 |
page_csv = gr.File(label="π Download Page Predictions CSV")
|
|
|
558 |
|
559 |
with gr.TabItem("π Secondary SDGs"):
|
560 |
with gr.Row():
|
561 |
+
secondary_page_plot = gr.Plot(label="π Secondary SDGs [Page-Level]", scale=2)
|
562 |
gr.Textbox(
|
563 |
"When the analysis is completed, the Secondary SDGs bar graph on the left will show "+
|
564 |
"SDGs that are not the primary focus of the pages analysed. These SDGs are second to the "+
|
565 |
+
"Primary SDGs. Download the Sentence Predictions CVS for further details",
|
566 |
interactive=False, scale=1
|
567 |
)
|
568 |
+
|
569 |
gr.Markdown("##### Download results")
|
|
|
|
|
570 |
with gr.Row():
|
571 |
page_csv_secondary = gr.File(label="π Download Page Predictions CSV")
|
572 |
page_report_file_secondary = gr.File(label="π Download Page Report DOCX")
|
|
|
597 |
"SDG is highlighted above the graph. Download the Sentence Predictions CVS for further details.",
|
598 |
interactive=False, scale=1
|
599 |
)
|
600 |
+
|
601 |
gr.Markdown("##### Download results")
|
602 |
with gr.Row():
|
603 |
sentence_csv = gr.File(label="π Download Sentence Predictions CSV")
|
|
|
605 |
sentence_jpeg1 = gr.File(label="πΌοΈ Download Primary SDGs JPEG")
|
606 |
|
607 |
with gr.TabItem("π Secondary SDGs"):
|
608 |
+
with gr.Row():
|
609 |
+
secondary_sentence_plot = gr.Plot(label="π Secondary SDGs [Sentence-Level]", scale=2)
|
610 |
+
gr.Textbox(
|
611 |
+
"When the analysis is done, the Secondary SDGs bar graph on the left will show "+
|
612 |
+
"SDGs that are not the primary focus of the sentences analysed. These SDGs are second to the "+
|
613 |
+
"Primary SDGs. Download the Sentence Predictions CVS for further details",
|
614 |
+
interactive=False, scale=1
|
615 |
+
)
|
616 |
+
|
617 |
+
gr.Markdown("##### Download results")
|
618 |
with gr.Row():
|
619 |
sentence_csv_secondary = gr.File(label="π Download Sentence Predictions CSV")
|
620 |
sentence_report_file_secondary = gr.File(label="π Download Sentence Report DOCX")
|