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

Fix lines 260-262 indentation - reduce to proper 4/8 spaces

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -257,9 +257,9 @@ def load_enrichment_data(profile: Optional[gr.OAuthProfile] = None):
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:
261
- success_rate = (stats.get('successful_enrichments', 0) / stats['total_enrichments']) * 100
262
- enrichment_md += f"- **Success Rate:** {success_rate:.1f}%\n\n"
263
 
264
  enrichment_md += "## Available APIs\n\n"
265
  enrichment_md += "- ✅ LinkedIn Profile Enrichment (4 providers with fallback)\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:
261
+ success_rate = (stats.get('successful_enrichments', 0) / stats['total_enrichments']) * 100
262
+ enrichment_md += f"- **Success Rate:** {success_rate:.1f}%\n\n"
263
 
264
  enrichment_md += "## Available APIs\n\n"
265
  enrichment_md += "- ✅ LinkedIn Profile Enrichment (4 providers with fallback)\n"