Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,7 @@ def collect_basic_info():
|
|
| 111 |
filename = f"{report_type}_{sanitized_topic}_all_sections.docx"
|
| 112 |
st.download_button(f"Download All Sections as DOCX", combined_doc_bytes, filename)
|
| 113 |
|
| 114 |
-
|
| 115 |
for section_name, generate_prompt_func in sections_to_process:
|
| 116 |
prompt = generate_prompt_func(data)
|
| 117 |
section_content = call_llm(prompt)
|
|
|
|
| 111 |
filename = f"{report_type}_{sanitized_topic}_all_sections.docx"
|
| 112 |
st.download_button(f"Download All Sections as DOCX", combined_doc_bytes, filename)
|
| 113 |
|
| 114 |
+
if section_to_generate == "All Sections_0":
|
| 115 |
for section_name, generate_prompt_func in sections_to_process:
|
| 116 |
prompt = generate_prompt_func(data)
|
| 117 |
section_content = call_llm(prompt)
|