Update app.py
Browse files
app.py
CHANGED
|
@@ -133,7 +133,7 @@ def summarize_german_text(text):
|
|
| 133 |
|
| 134 |
def extract_details(path):
|
| 135 |
sections_dict = process_pdf(path)
|
| 136 |
-
results =
|
| 137 |
results["Section 4.1 summary"] = summarize_german_text(sections_dict["4.1 Bewertungen von Zielen, Zielgruppen, Wirkungshypothesen und Indikatoren"])
|
| 138 |
results["Section 4.2 summary"] = summarize_german_text(sections_dict["4.2 Umgesetzte Maßnahmen / Aktivitäten während des Berichtszeitraums"])
|
| 139 |
results["Section 4.6 summary"] = summarize_german_text(sections_dict["4.6 Bewertung der Wirkungen und Risiken"])
|
|
|
|
| 133 |
|
| 134 |
def extract_details(path):
|
| 135 |
sections_dict = process_pdf(path)
|
| 136 |
+
results = {}
|
| 137 |
results["Section 4.1 summary"] = summarize_german_text(sections_dict["4.1 Bewertungen von Zielen, Zielgruppen, Wirkungshypothesen und Indikatoren"])
|
| 138 |
results["Section 4.2 summary"] = summarize_german_text(sections_dict["4.2 Umgesetzte Maßnahmen / Aktivitäten während des Berichtszeitraums"])
|
| 139 |
results["Section 4.6 summary"] = summarize_german_text(sections_dict["4.6 Bewertung der Wirkungen und Risiken"])
|