Spaces:
Sleeping
Sleeping
Download utils.py from itsmemauli/LeadIQ: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/spaces/itsmemauli/LeadIQ/resolve/main/utils.py
- Command line
-
hf download hf://spaces/itsmemauli/LeadIQ/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/itsmemauli/LeadIQ/resolve/main/utils.py
378 Bytes
| def enrich_data(domain): | |
| # Mock enrichment logic | |
| return { | |
| "Industry": "SaaS", | |
| "Size": "51-200", | |
| "LinkedIn": f"https://linkedin.com/company/{domain.split('.')[0]}" | |
| } | |
| def score_lead(data): | |
| score = 0 | |
| if data["email_verified"]: score += 1 | |
| if data["LinkedIn"]: score += 1 | |
| if data["Size"] != "Unknown": score += 1 | |
| return score | |