kshitijthakkar commited on
Commit
44c2449
Β·
1 Parent(s): 6ae304e

fix: Update report card footer links to correct HuggingFace Space URL

Browse files

- Fix all three report card footers to use correct Space URL
- Old: https://huggingface.co/tracemind (non-existent)
- Old: tracemind.huggingface.co (incorrect)
- New: https://mcp-1st-birthday-tracemind.hf.space/
- Also made footer links clickable where they were just text
- Affects: generate_run_report_card, _create_empty_card_html, generate_comparison_report_card

Files changed (1) hide show
  1. components/report_cards.py +3 -3
components/report_cards.py CHANGED
@@ -135,7 +135,7 @@ def generate_leaderboard_summary_card(df: pd.DataFrame, top_n: int = 3) -> str:
135
  </div>
136
 
137
  <div class="card-footer">
138
- <p style="margin: 0; color: #ffffff !important;">πŸ”— <a href="https://huggingface.co/tracemind" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; font-weight: 600;">tracemind @ HuggingFace</a></p>
139
  <p class="tagline" style="color: rgba(255, 255, 255, 0.7) !important; margin: 10px 0 0 0; font-size: 0.9em;">Built with TraceMind β€’ Powered by SmolTrace & TraceVerde</p>
140
  </div>
141
  </div>
@@ -271,7 +271,7 @@ def generate_run_report_card(run_data: dict) -> str:
271
  </div>
272
 
273
  <div class="card-footer">
274
- <p style="margin: 0; color: #ffffff !important;">πŸ”— <span style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 600;">View detailed traces at tracemind.huggingface.co</span></p>
275
  </div>
276
  </div>
277
  """
@@ -703,7 +703,7 @@ def generate_comparison_report_card(run_a_data: dict, run_b_data: dict) -> str:
703
  </div>
704
 
705
  <div class="card-footer">
706
- <p style="margin: 0; color: #ffffff !important;">πŸ”— <span style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 600;">View detailed comparison at tracemind.huggingface.co</span></p>
707
  </div>
708
  </div>
709
 
 
135
  </div>
136
 
137
  <div class="card-footer">
138
+ <p style="margin: 0; color: #ffffff !important;">πŸ”— <a href="https://mcp-1st-birthday-tracemind.hf.space/" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; font-weight: 600;">TraceMind @ HuggingFace</a></p>
139
  <p class="tagline" style="color: rgba(255, 255, 255, 0.7) !important; margin: 10px 0 0 0; font-size: 0.9em;">Built with TraceMind β€’ Powered by SmolTrace & TraceVerde</p>
140
  </div>
141
  </div>
 
271
  </div>
272
 
273
  <div class="card-footer">
274
+ <p style="margin: 0; color: #ffffff !important;">πŸ”— <a href="https://mcp-1st-birthday-tracemind.hf.space/" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; font-weight: 600;">View detailed traces at TraceMind</a></p>
275
  </div>
276
  </div>
277
  """
 
703
  </div>
704
 
705
  <div class="card-footer">
706
+ <p style="margin: 0; color: #ffffff !important;">πŸ”— <a href="https://mcp-1st-birthday-tracemind.hf.space/" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; font-weight: 600;">View detailed comparison at TraceMind</a></p>
707
  </div>
708
  </div>
709