Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -488,7 +488,7 @@ def launch_interface():
|
|
| 488 |
# Extraction mode selection with explanatory text
|
| 489 |
gr.Markdown(
|
| 490 |
"""
|
| 491 |
-
##
|
| 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("##
|
| 521 |
|
| 522 |
with gr.Tab("π Page-Level Analysis"):
|
| 523 |
gr.Markdown(
|
| 524 |
"""
|
| 525 |
-
###
|
| 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 |
-
###
|
| 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.
|