evijit HF staff commited on
Commit
8f52fcd
β€’
1 Parent(s): 963523f

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -111,6 +111,7 @@ def create_category_summary(category_data):
111
  def create_overall_summary(model_data, selected_categories):
112
  """Create a comprehensive summary of all categories"""
113
  scores = model_data['scores']
 
114
 
115
  # Initialize counters
116
  total_sections = 0
@@ -184,8 +185,8 @@ def create_overall_summary(model_data, selected_categories):
184
 
185
  # Create summary HTML
186
  html = "<div class='card overall-summary-card'>"
187
- html += "<div class='card-title'>πŸ“Š Overall Social Impact Evaluation Summary</div>"
188
-
189
  # Key metrics section
190
  html += "<div class='summary-grid'>"
191
 
 
111
  def create_overall_summary(model_data, selected_categories):
112
  """Create a comprehensive summary of all categories"""
113
  scores = model_data['scores']
114
+ model_name = model_data['metadata']['Name']
115
 
116
  # Initialize counters
117
  total_sections = 0
 
185
 
186
  # Create summary HTML
187
  html = "<div class='card overall-summary-card'>"
188
+ html += f"<div class='card-title'>πŸ“Š {model_name} Social Impact Evaluation Summary</div>"
189
+
190
  # Key metrics section
191
  html += "<div class='summary-grid'>"
192