Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -445,7 +445,7 @@ def launch_interface():
|
|
| 445 |
# Extraction mode selection with explanatory text
|
| 446 |
gr.Markdown(
|
| 447 |
"""
|
| 448 |
-
|
| 449 |
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.
|
| 450 |
"""
|
| 451 |
)
|
|
@@ -477,7 +477,7 @@ def launch_interface():
|
|
| 477 |
with gr.Tab("Page-Level Analysis"):
|
| 478 |
gr.Markdown(
|
| 479 |
"""
|
| 480 |
-
|
| 481 |
This section conducts Sustainable Development Goals (SDG) mapping
|
| 482 |
of documents using the [sdgBERT model](https://huggingface.co/sadickam/sdgBERT).
|
| 483 |
It provides **high-level SDG mapping** of documents at the page level.
|
|
@@ -501,7 +501,7 @@ def launch_interface():
|
|
| 501 |
with gr.Tab("Sentence-Level Analysis"):
|
| 502 |
gr.Markdown(
|
| 503 |
"""
|
| 504 |
-
|
| 505 |
This section conducts Sustainable Development Goals (SDG) mapping
|
| 506 |
using the [sdgBERT model](https://huggingface.co/sadickam/sdgBERT).
|
| 507 |
It provides **detailed SDG mapping** at the sentence level.
|
|
|
|
| 445 |
# Extraction mode selection with explanatory text
|
| 446 |
gr.Markdown(
|
| 447 |
"""
|
| 448 |
+
### PDF Text Extraction Mode
|
| 449 |
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.
|
| 450 |
"""
|
| 451 |
)
|
|
|
|
| 477 |
with gr.Tab("Page-Level Analysis"):
|
| 478 |
gr.Markdown(
|
| 479 |
"""
|
| 480 |
+
### 📄 Page-Level SDG Analysis
|
| 481 |
This section conducts Sustainable Development Goals (SDG) mapping
|
| 482 |
of documents using the [sdgBERT model](https://huggingface.co/sadickam/sdgBERT).
|
| 483 |
It provides **high-level SDG mapping** of documents at the page level.
|
|
|
|
| 501 |
with gr.Tab("Sentence-Level Analysis"):
|
| 502 |
gr.Markdown(
|
| 503 |
"""
|
| 504 |
+
### ✍️ Sentence-Level SDG Analysis
|
| 505 |
This section conducts Sustainable Development Goals (SDG) mapping
|
| 506 |
using the [sdgBERT model](https://huggingface.co/sadickam/sdgBERT).
|
| 507 |
It provides **detailed SDG mapping** at the sentence level.
|