Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# app.py
|
| 2 |
-
# Safe KB-driven retrieval + report generator
|
| 3 |
# - Loads PDFs/TXT/MD from /mnt/data
|
| 4 |
# - Builds chunk index (embedding or lexical fallback)
|
| 5 |
# - For each answer: retrieves top chunks relevant to that answer (the "lens")
|
|
@@ -530,7 +530,7 @@ KB_INDEX.build_from_files(FILES_TEXT)
|
|
| 530 |
# -------------------------
|
| 531 |
with gr.Blocks() as demo:
|
| 532 |
gr.HTML(f'<img src="{BANNER_URL}" width="100%">')
|
| 533 |
-
gr.Markdown("# Kashmir
|
| 534 |
|
| 535 |
with gr.Tab("Standard Report"):
|
| 536 |
std_inputs = [gr.Textbox(label=q, lines=1) for q in STD_QUESTIONS]
|
|
|
|
| 1 |
# app.py
|
| 2 |
+
# Safe KB-driven retrieval + report generator
|
| 3 |
# - Loads PDFs/TXT/MD from /mnt/data
|
| 4 |
# - Builds chunk index (embedding or lexical fallback)
|
| 5 |
# - For each answer: retrieves top chunks relevant to that answer (the "lens")
|
|
|
|
| 530 |
# -------------------------
|
| 531 |
with gr.Blocks() as demo:
|
| 532 |
gr.HTML(f'<img src="{BANNER_URL}" width="100%">')
|
| 533 |
+
gr.Markdown("# Kashmir AOR Action Plan — Battle Planner")
|
| 534 |
|
| 535 |
with gr.Tab("Standard Report"):
|
| 536 |
std_inputs = [gr.Textbox(label=q, lines=1) for q in STD_QUESTIONS]
|