stackConsult commited on
Commit
fd09a19
·
verified ·
1 Parent(s): 0b3754d

Fix indentation error on line 249 and separate concatenated statements on lines 249-250

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -246,9 +246,8 @@ def load_enrichment_data(profile: Optional[gr.OAuthProfile] = None):
246
  return "# 👤 Authentication Required\n\nPlease sign in with your Hugging Face account to access data enrichment features."
247
  username = profile.username
248
  manager = get_enrichment_manager(username)
249
- stats = manager.get_enrichment_stats()
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"
 
246
  return "# 👤 Authentication Required\n\nPlease sign in with your Hugging Face account to access data enrichment features."
247
  username = profile.username
248
  manager = get_enrichment_manager(username)
249
+ stats = manager.get_enrichment_stats()
250
+ enrichment_md = f"# 📊 Data Enrichment Dashboard\n\n**User:** {username}\n\n"enrichment_md += "## Enrichment Statistics\n\n"
 
251
  enrichment_md += f"- **Total API Calls:** {stats.get('total_api_calls', 0)}\n"
252
  enrichment_md += f"- **Cache Hits:** {stats.get('cache_hits', 0)}\n"
253
  enrichment_md += f"- **Cache Misses:** {stats.get('cache_misses', 0)}\n"