Spaces:
Sleeping
Sleeping
Fix lines 260-262 indentation - reduce to proper 4/8 spaces
Browse files
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 |
-
|
| 261 |
-
|
| 262 |
-
|
| 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"
|