sadickam commited on
Commit
2280d1c
Β·
verified Β·
1 Parent(s): 2133127

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -488,7 +488,7 @@ def launch_interface():
488
  # Extraction mode selection with explanatory text
489
  gr.Markdown(
490
  """
491
- ## πŸ“‹ PDF Text Extraction Mode
492
  Choose whether to analyze all pages or a specific range of pages. If you want to exclude certain pages from the analysis, select "Range of Pages" and specify the start and end pages.
493
  """
494
  )
@@ -517,12 +517,12 @@ def launch_interface():
517
  )
518
 
519
  # Main Tabs for Page-Level and Sentence-Level Analysis
520
- gr.Markdown("## πŸ” SDG Analysis Type")
521
 
522
  with gr.Tab("πŸ“„ Page-Level Analysis"):
523
  gr.Markdown(
524
  """
525
- ### πŸ“„ Page-Level SDG Analysis
526
  This section conducts Sustainable Development Goals (SDG) mapping
527
  of documents using the [sdgBERT model](https://huggingface.co/sadickam/sdgBERT).
528
  It provides **high-level SDG mapping** of documents at the page level.
@@ -553,7 +553,7 @@ def launch_interface():
553
  with gr.Tab("✍️ Sentence-Level Analysis"):
554
  gr.Markdown(
555
  """
556
- ### ✍️ Sentence-Level SDG Analysis
557
  This section conducts Sustainable Development Goals (SDG) mapping
558
  using the [sdgBERT model](https://huggingface.co/sadickam/sdgBERT).
559
  It provides **detailed SDG mapping** at the sentence level.
 
488
  # Extraction mode selection with explanatory text
489
  gr.Markdown(
490
  """
491
+ ## PDF Text Extraction Mode
492
  Choose whether to analyze all pages or a specific range of pages. If you want to exclude certain pages from the analysis, select "Range of Pages" and specify the start and end pages.
493
  """
494
  )
 
517
  )
518
 
519
  # Main Tabs for Page-Level and Sentence-Level Analysis
520
+ gr.Markdown("## SDG Analysis Type")
521
 
522
  with gr.Tab("πŸ“„ Page-Level Analysis"):
523
  gr.Markdown(
524
  """
525
+ ### Page-Level SDG Analysis
526
  This section conducts Sustainable Development Goals (SDG) mapping
527
  of documents using the [sdgBERT model](https://huggingface.co/sadickam/sdgBERT).
528
  It provides **high-level SDG mapping** of documents at the page level.
 
553
  with gr.Tab("✍️ Sentence-Level Analysis"):
554
  gr.Markdown(
555
  """
556
+ ### Sentence-Level SDG Analysis
557
  This section conducts Sustainable Development Goals (SDG) mapping
558
  using the [sdgBERT model](https://huggingface.co/sadickam/sdgBERT).
559
  It provides **detailed SDG mapping** at the sentence level.