sadickam commited on
Commit
dac7577
Β·
verified Β·
1 Parent(s): cfe0e75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -543,11 +543,11 @@ def launch_interface():
543
  with gr.TabItem("πŸ“Š Primary SDGs"):
544
  with gr.Row():
545
  primary_page_plot = gr.Plot(label="πŸ“Š Primary SDGs [Page-Level]", scale=2)
546
- gr.Textbox(
547
  "When the analysis is completed, the Primary SDGs bar graph on the left will show "+
548
  "the percentage of pages that strongly align with each SDG. The icon for the most frequent "+
549
  "SDG will be highlighted above the graph. Download the Page Predictions CVS for further details.",
550
- interactive=False, scale=1, max_lines = 7, label = "Note"
551
  )
552
 
553
  gr.Markdown("##### Download results")
@@ -559,11 +559,11 @@ def launch_interface():
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, max_lines = 7, label = "Note"
567
  )
568
 
569
  gr.Markdown("##### Download results")
@@ -591,11 +591,11 @@ def launch_interface():
591
  with gr.TabItem("πŸ“Š Primary SDGs"):
592
  with gr.Row():
593
  primary_sentence_plot = gr.Plot(label="πŸ“Š Primary SDGs [Sentence-Level]", scale=2)
594
- gr.Textbox(
595
  "When the analysis is completed, the Primary SDGs bar graph on the left will show "+
596
  "the percentage of sentences that strongly align with each SDG. The icon for the most frequent "+
597
  "SDG will be highlighted above the graph. Download the Sentence Predictions CVS for further details.",
598
- interactive=False, scale=1, max_lines = 7, label = "Note"
599
  )
600
 
601
  gr.Markdown("##### Download results")
@@ -607,11 +607,11 @@ def launch_interface():
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, max_lines = 7, label = "Note"
615
  )
616
 
617
  gr.Markdown("##### Download results")
 
543
  with gr.TabItem("πŸ“Š Primary SDGs"):
544
  with gr.Row():
545
  primary_page_plot = gr.Plot(label="πŸ“Š Primary SDGs [Page-Level]", scale=2)
546
+ gr.Markdown(
547
  "When the analysis is completed, the Primary SDGs bar graph on the left will show "+
548
  "the percentage of pages that strongly align with each SDG. The icon for the most frequent "+
549
  "SDG will be highlighted above the graph. Download the Page Predictions CVS for further details.",
550
+ interactive=False, label = "Note", container=True
551
  )
552
 
553
  gr.Markdown("##### Download results")
 
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.Markdown(
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, label = "Note", container=True
567
  )
568
 
569
  gr.Markdown("##### Download results")
 
591
  with gr.TabItem("πŸ“Š Primary SDGs"):
592
  with gr.Row():
593
  primary_sentence_plot = gr.Plot(label="πŸ“Š Primary SDGs [Sentence-Level]", scale=2)
594
+ gr.Markdown(
595
  "When the analysis is completed, the Primary SDGs bar graph on the left will show "+
596
  "the percentage of sentences that strongly align with each SDG. The icon for the most frequent "+
597
  "SDG will be highlighted above the graph. Download the Sentence Predictions CVS for further details.",
598
+ interactive=False, label = "Note", container=True
599
  )
600
 
601
  gr.Markdown("##### Download results")
 
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.Markdown(
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, label = "Note", container=True
615
  )
616
 
617
  gr.Markdown("##### Download results")