stackConsult commited on
Commit
c5075c3
·
verified ·
1 Parent(s): c8f4b37

Fix lines 253-257 indentation - reduce to 4 spaces (document-first approach)

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -250,11 +250,11 @@ def load_enrichment_data(profile: Optional[gr.OAuthProfile] = None):
250
  enrichment_md = f"# 📊 Data Enrichment Dashboard\n\n**User:** {username}\n\n"
251
  enrichment_md += "## Enrichment Statistics\n\n"
252
  enrichment_md += f"- **Total API Calls:** {stats.get('total_api_calls', 0)}\n"
253
- enrichment_md += f"- **Cache Hits:** {stats.get('cache_hits', 0)}\n"
254
- enrichment_md += f"- **Cache Misses:** {stats.get('cache_misses', 0)}\n"
255
- enrichment_md += f"- **Total Enrichments:** {stats.get('total_enrichments', 0)}\n"
256
- enrichment_md += f"- **Successful Enrichments:** {stats.get('successful_enrichments', 0)}\n"
257
- enrichment_md += f"- **Failed Enrichments:** {stats.get('failed_enrichments', 0)}\n\n"
258
 
259
  # Calculate success rate
260
  if stats.get('total_enrichments', 0) > 0:
 
250
  enrichment_md = f"# 📊 Data Enrichment Dashboard\n\n**User:** {username}\n\n"
251
  enrichment_md += "## Enrichment Statistics\n\n"
252
  enrichment_md += f"- **Total API Calls:** {stats.get('total_api_calls', 0)}\n"
253
+ enrichment_md += f"- **Cache Hits:** {stats.get('cache_hits', 0)}\n"
254
+ enrichment_md += f"- **Cache Misses:** {stats.get('cache_misses', 0)}\n"
255
+ enrichment_md += f"- **Total Enrichments:** {stats.get('total_enrichments', 0)}\n"
256
+ enrichment_md += f"- **Successful Enrichments:** {stats.get('successful_enrichments', 0)}\n"
257
+ enrichment_md += f"- **Failed Enrichments:** {stats.get('failed_enrichments', 0)}\n\n"
258
 
259
  # Calculate success rate
260
  if stats.get('total_enrichments', 0) > 0: