Update app.py
Browse files
app.py
CHANGED
|
@@ -1447,7 +1447,7 @@ def build_kpi_markdown(summary_jenis: pd.DataFrame, agg_total: pd.DataFrame, agg
|
|
| 1447 |
# 14) LLM + WORD
|
| 1448 |
# ============================================================
|
| 1449 |
|
| 1450 |
-
|
| 1451 |
doc = Document()
|
| 1452 |
doc.add_heading(f"Laporan IPLM — {wilayah}", level=1)
|
| 1453 |
|
|
|
|
| 1447 |
# 14) LLM + WORD
|
| 1448 |
# ============================================================
|
| 1449 |
|
| 1450 |
+
def generate_word_report(wilayah, summary_jenis, agg_total, agg_jenis, analysis_text):
|
| 1451 |
doc = Document()
|
| 1452 |
doc.add_heading(f"Laporan IPLM — {wilayah}", level=1)
|
| 1453 |
|