pavanmutha commited on
Commit
201af7b
·
verified ·
1 Parent(s): d3977ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -97,11 +97,12 @@ def format_observations(observations):
97
  f"""
98
  <div style="margin: 15px 0; padding: 15px; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05);">
99
  <h3 style="margin: 0 0 10px 0; color: #4A708B;">{key.replace('_', ' ').title()}</h3>
100
- <pre style="margin: 0; padding: 10px; background: #f8f9fa; border-radius: 4px;">{value}</pre>
101
  </div>
102
  """ for key, value in observations.items()
103
  ])
104
 
 
105
  def format_insights(insights, visuals):
106
  if isinstance(insights, dict):
107
  # Old format (dict of key: text)
 
97
  f"""
98
  <div style="margin: 15px 0; padding: 15px; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05);">
99
  <h3 style="margin: 0 0 10px 0; color: #4A708B;">{key.replace('_', ' ').title()}</h3>
100
+ <pre style="margin: 0; padding: 10px; background: #eef2f7; border-radius: 4px; color: #1f2d3d; font-size: 14px;">{value}</pre>
101
  </div>
102
  """ for key, value in observations.items()
103
  ])
104
 
105
+
106
  def format_insights(insights, visuals):
107
  if isinstance(insights, dict):
108
  # Old format (dict of key: text)