Spaces:
Running
Running
Update ui/insights_ui_generator.py
Browse files
ui/insights_ui_generator.py
CHANGED
@@ -23,7 +23,7 @@ def format_report_for_display(report_data: Optional[pd.Series]) -> str:
|
|
23 |
|
24 |
# Assuming the main report text is in a column named 'comprehensive_analysis_text'
|
25 |
# You may need to adjust this column name based on your Bubble.io data structure.
|
26 |
-
report_text = report_data.get('
|
27 |
report_type = report_data.get('report_type')
|
28 |
created_date_str = report_data.get('Created Date') # Bubble's default field name
|
29 |
|
|
|
23 |
|
24 |
# Assuming the main report text is in a column named 'comprehensive_analysis_text'
|
25 |
# You may need to adjust this column name based on your Bubble.io data structure.
|
26 |
+
report_text = report_data.get('report_text', '*Report content not found.*')
|
27 |
report_type = report_data.get('report_type')
|
28 |
created_date_str = report_data.get('Created Date') # Bubble's default field name
|
29 |
|