Update app.py
Browse files
app.py
CHANGED
|
@@ -1244,6 +1244,10 @@ Provide a detailed, data-driven answer with:
|
|
| 1244 |
data_summary=data_summary
|
| 1245 |
)
|
| 1246 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1247 |
def generate_excel_report(self, analysis_text: str, data_summary: str, filename: str):
|
| 1248 |
"""Generate comprehensive Excel report with multiple sheets"""
|
| 1249 |
with pd.ExcelWriter(filename, engine='openpyxl') as writer:
|
|
@@ -1286,12 +1290,8 @@ Provide a detailed, data-driven answer with:
|
|
| 1286 |
---
|
| 1287 |
|
| 1288 |
## π Technical Data Profile
|
| 1289 |
-
|
| 1290 |
-
```
|
| 1291 |
{data_summary}
|
| 1292 |
-
|
| 1293 |
-
|
| 1294 |
-
---
|
| 1295 |
|
| 1296 |
## π Support & Contact
|
| 1297 |
|
|
|
|
| 1244 |
data_summary=data_summary
|
| 1245 |
)
|
| 1246 |
|
| 1247 |
+
def generate_pdf_ready_report(self, analysis_text: str, data_summary: str, file_name: str) -> str:
|
| 1248 |
+
"""Generate PDF-ready HTML report"""
|
| 1249 |
+
return self.generate_enhanced_html_report(analysis_text, data_summary, file_name)
|
| 1250 |
+
|
| 1251 |
def generate_excel_report(self, analysis_text: str, data_summary: str, filename: str):
|
| 1252 |
"""Generate comprehensive Excel report with multiple sheets"""
|
| 1253 |
with pd.ExcelWriter(filename, engine='openpyxl') as writer:
|
|
|
|
| 1290 |
---
|
| 1291 |
|
| 1292 |
## π Technical Data Profile
|
|
|
|
|
|
|
| 1293 |
{data_summary}
|
| 1294 |
+
text---
|
|
|
|
|
|
|
| 1295 |
|
| 1296 |
## π Support & Contact
|
| 1297 |
|