Update app.py
Browse files96 unmodified lines97989910010110210310410510610796 unmodified linesf"""<div style="margin: 15px 0; padding: 15px; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05);"><h3 style="margin: 0 0 10px 0; color: #4A708B;">{key.replace('_', ' ').title()}</h3><pre style="margin: 0; padding: 10px; background: #f8f9fa; border-radius: 4px;">{value}</pre></div>""" for key, value in observations.items()])def format_insights(insights, visuals):if isinstance(insights, dict):# Old format (dict of key: text)96 unmodified lines97989910010110210310410510610710896 unmodified linesf"""<div style="margin: 15px 0; padding: 15px; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05);"><h3 style="margin: 0 0 10px 0; color: #4A708B;">{key.replace('_', ' ').title()}</h3><pre style="margin: 0; padding: 10px; background: #eef2f7; border-radius: 4px; color: #1f2d3d; font-size: 14px;">{value}</pre></div>""" for key, value in observations.items()])def format_insights(insights, visuals):if isinstance(insights, dict):# Old format (dict of key: text)
app.py+2-1